Esempio n. 1
0
 public QuestionmarkBlock(Vector2 location)
 {
     stateMachine  = new QuestionmarkBlockStateMachine();
     Location      = location;
     Destination   = stateMachine.MakeDestinationRectangle(Location);
     coinAnimation = new CoinCollectedFromBlockAnimation(new Vector2(Location.X, Location.Y - Destination.Height));
 }