示例#1
0
 public override void Enter(IItemStates previousState)
 {
     Item.Time.Start();
     Item.IsAnimated = false;
     CurrentState    = this;
     PreviousState   = previousState;
     Item.IsVisible  = false;
     Item.Velocity   = new Vector2(0, 0);
     //Item.MoveAwayFactor = new Vector2(0, 0);
     //Send the item's collision box out of the face of the earth
     //Item.ConsumedPositionFactor = 0;
 }
示例#2
0
 public override void Enter(IItemStates previousState)
 {
     CurrentState  = this;
     PreviousState = previousState;
     Item.Color    = Color.White;
 }
示例#3
0
 public virtual void Enter(IItemStates previousState)
 {
     CurrentState  = this;
     PreviousState = previousState;
 }