static private RemoveMarker ( |
||
Texture | ||
return | void |
internal override void Update() { if (QueueForRemoval == true) { Game.RemoveMarker(this.Texture); } }
override internal void Trigger(int Direction, EventTriggerType TriggerType, TrainManager.Train Train, int CarIndex) { if (TriggerType == EventTriggerType.Camera) { if (Direction < 0) { Game.AddMarker(this.TextureIndex); } else if (Direction > 0) { Game.RemoveMarker(this.TextureIndex); } } }
internal override void Update() { if (QueueForRemoval == true) { switch (currentTexture) { case 0: Game.RemoveMarker(this.MessageEarlyTexture); break; case 1: Game.RemoveMarker(this.MessageOnTimeTexture); break; case 2: Game.RemoveMarker(this.MessageLateTexture); break; } } }