internal static void AddMarker(Textures.Texture Texture) { int n = MarkerTextures.Length; Array.Resize<Textures.Texture>(ref MarkerTextures, n + 1); MarkerTextures[n] = Texture; } internal static void RemoveMarker(Textures.Texture Texture) {
internal override void AddMessage() { QueueForRemoval = false; ImageMessages.Add(this); if (TriggerOnce && Triggered) { return; } Triggered = true; if (Game.SecondsSinceMidnight <= MessageEarlyTime) { //We are early Game.AddMarker(MessageEarlyTexture); currentTexture = 0; } else if (Game.SecondsSinceMidnight >= MessageLateTime) { //Late Game.AddMarker(MessageLateTexture); currentTexture = 2; } else { //On time Game.AddMarker(MessageOnTimeTexture); currentTexture = 1; } }