Class BaseEntityObstacle<T>
Inheritance
BaseEntityObstacle<T>
Assembly: cs.temp.dll.dll
Syntax
public class BaseEntityObstacle<T> : MonoBehaviour, IEntityFullInitializable, IEntityPreInitializable, IEntityPostInitializable, IEntityInitializable, IEntityObstacleHandler where T : Behaviour
Type Parameters
Properties
entity
Declaration
protected IEntity entity { get; }
Property Value
gameMgr
Declaration
protected IGameManager gameMgr { get; }
Property Value
Type |
Description |
IGameManager |
|
logger
Declaration
protected IGameLoggingService logger { get; }
Property Value
Type |
Description |
IGameLoggingService |
|
mvtSystem
Declaration
protected IMovementSystem mvtSystem { get; }
Property Value
Type |
Description |
IMovementSystem |
|
Obstacles
Declaration
public IEnumerable<T> Obstacles { get; }
Property Value
Methods
Disable()
Declaration
public virtual void Disable()
OnDead()
Declaration
protected virtual void OnDead()
OnEntityPostInit(IGameManager, IEntity)
Declaration
public void OnEntityPostInit(IGameManager gameMgr, IEntity entity)
Parameters
Type |
Name |
Description |
IGameManager |
gameMgr |
|
IEntity |
entity |
|
OnEntityPreInit(IGameManager, IEntity)
Declaration
public void OnEntityPreInit(IGameManager gameMgr, IEntity entity)
Parameters
Type |
Name |
Description |
IGameManager |
gameMgr |
|
IEntity |
entity |
|
OnPostInit()
Declaration
protected virtual void OnPostInit()
OnPreInit()
Declaration
protected virtual void OnPreInit()
SetActive(Boolean)
Declaration
public void SetActive(bool enable)
Parameters
Type |
Name |
Description |
Boolean |
enable |
|
Implements