Class ObjCollectable
This is a handy feature that can be added to any NavObject, turning it into something players can collect during gameplay.
Inherited Members
Namespace: Axis.ObjFeatures
Assembly: cs.temp.dll.dll
Syntax
public sealed class ObjCollectable : ObjFeature
Fields
CollectedFirework
Firework to burst when this is collected
Declaration
public AxisFirework CollectedFirework
Field Value
Type | Description |
---|---|
AxisFirework |
Damages
Damage value to cause on its collector when collected
Declaration
public int Damages
Field Value
Type | Description |
---|---|
int |
Heals
Heals value on its collector when collected
Declaration
public int Heals
Field Value
Type | Description |
---|---|
int |
KeepInsideOnCollect
Wether this collectable will be nested inside its collector.
Declaration
public bool KeepInsideOnCollect
Field Value
Type | Description |
---|---|
bool |
OnCollect
Object with events dispatched related to collectables
Declaration
public CollectableEvents OnCollect
Field Value
Type | Description |
---|---|
CollectableEvents |
OnCollectedCounterSum
Associate an AxisCounter to be added 1 when collected
Declaration
public AxisCounter OnCollectedCounterSum
Field Value
Type | Description |
---|---|
AxisCounter |
ValueSum
Value to sum to AxisCounter when collected
Declaration
public int ValueSum
Field Value
Type | Description |
---|---|
int |
Methods
CollectedBy(NavObject)
Be collected by specified NavObject
Declaration
public void CollectedBy(NavObject by)
Parameters
Type | Name | Description |
---|---|---|
NavObject | by | Collector object |
CollectedForceNoCollector()
Declaration
public void CollectedForceNoCollector()