Interface IEntityWorkerManager
Assembly: cs.temp.dll.dll
Syntax
public interface IEntityWorkerManager : IAddableUnit
Properties
Amount
Declaration
Property Value
Entity
Declaration
Property Value
HasMaxAmount
Declaration
bool HasMaxAmount { get; }
Property Value
MaxAmount
Declaration
Property Value
Workers
Declaration
IReadOnlyList<IUnit> Workers { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyList<IUnit> |
|
Methods
GetOccupiedPosition(IUnit, out Vector3)
Declaration
bool GetOccupiedPosition(IUnit worker, out Vector3 position)
Parameters
Type |
Name |
Description |
IUnit |
worker |
|
Vector3 |
position |
|
Returns
Remove(IUnit)
Declaration
void Remove(IUnit worker)
Parameters
Type |
Name |
Description |
IUnit |
worker |
|
Events
WorkerAdded
Declaration
event CustomEventHandler<IEntity, EntityEventArgs<IUnit>> WorkerAdded
Event Type
Type |
Description |
CustomEventHandler<IEntity, EntityEventArgs<IUnit>> |
|
WorkerRemoved
Declaration
event CustomEventHandler<IEntity, EntityEventArgs<IUnit>> WorkerRemoved
Event Type
Type |
Description |
CustomEventHandler<IEntity, EntityEventArgs<IUnit>> |
|