//public static event Action<GameActionEvent> GameActionEvent; public static void OnControlledAdded(ControlledEntity entity) { if (GameEvents.ControlledCreated != null) { GameEvents.ControlledCreated.Invoke(entity); } }
public void Bind( ControlledEntity controlled, float xOffset, float yOffset) { this.controlled = controlled; this.xOffset = xOffset; this.yOffset = yOffset; }
public GameScopeEvaluator(ControlledEntity controlled) { this.controlled = controlled; }
protected override void OnReset() { this.controlled = null; this.xOffset = 0.0f; this.yOffset = 0.0f; }