Exemple #1
0
 public void GetProduced(bool marioFacingLeft)
 {
     beingProduced       = true;
     Physics.MaxPosition = new Vector2(PhysicsUtilites.XMaxPosition, (int)Location.Y - Sprite.getTextureHeight() * 3);
     Physics.YVelocity   = PhysicsUtilites.ItemCoinProductionVelocity;
     isBeingDrawn        = true;
 }
Exemple #2
0
 public void GetProduced(bool marioFacingLeft)
 {
     ItemBlockSoundBoard.Instance.PlayPowerUpAppear();
     goLeftAfterProduced = marioFacingLeft;
     beingProduced       = true;
     Physics.MaxPosition = new Vector2(PhysicsUtilites.XMaxPosition, (int)Location.Y - Sprite.getTextureHeight());
     Physics.YVelocity   = PhysicsUtilites.ItemProductionVelocity;
     isBeingDrawn        = true;
 }