RemoveMarker() static private method

static private RemoveMarker ( Textures Texture ) : void
Texture Textures
return void
コード例 #1
0
 internal override void Update()
 {
     if (QueueForRemoval == true)
     {
         Game.RemoveMarker(this.Texture);
     }
 }
コード例 #2
0
 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);
         }
     }
 }
コード例 #3
0
            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;
                    }
                }
            }