Skip to content

Game Function Documentation

OmegaRogue edited this page Oct 31, 2019 · 1 revision

BindableDronePart

namespace Assets.Nimbatus.Scripts.WorldObjects.Items.DroneParts
public abstract class BindableDronePart : DronePart

Methods

List<KeyBinding> GetKeyBindings()

Returns a List of all Input KeyBindings of the Instance

void AddKeyBindings(params KeyBinding[] keys)

Adds the given Input Keybindings to a BindableDronePart

void RemoveKeyBindings(params KeyBinding[] keys)

Removes the given Input Keybindings to a BindableDronePart

SensorPart

namespace Assets.Nimbatus.Scripts.WorldObjects.Items.DroneParts.SensorParts
public abstract class SensorPart : BindableDronePart

Methods

List<EventKeyBindings> GetEventBindings()

Returns a List of all Output KeyBindings of the Instance

void AddEventBindings(params KeyBinding[] keys)

Adds the given Output Keybindings to a SensorPart

void RemoveEventBindings(params KeyBinding[] keys)

Removes the given Output Keybindings from a SensorPart

IHasResources

namespace Assets.Nimbatus.Scripts.ResourceCollection
public interface IHasResources

Methods

float GetRechargePerSecond()

Returns the Resource Recharge rate

float GetResourceCapacity()

Returns the Resource Capacity

float GetResourceAmount()

Returns the current Resource amount

void SetResourceAmount(float value)

Sets the current Resource amount to the value

void ChangeResourceHub(ResourceHub oldHub, ResourceHub newHub)

Changes the ResourceHub

EResourceType

namespace Assets.Nimbatus.Scripts.ResourceCollection
public enum EResourceType

Values

None,
Energy,
Fuel,
CommonResource,
JungleResource,
LavaResource,
IceResource

ERunningMode

namespace Assets.Nimbatus.Scripts.Persistence
public enum ERunningMode

Values

Normal,
TestFlight,
DroneCustomization,
Menu,
MissionControl,
BossFight,
Arena,
DroneSumo,
WeaponCustomization,
Tutorial