public MarioFireball(Vector2 position, Vector2 direction) :base(SprintFourGame.GetInstance())
        {
           
            ++Fireballs;
            Position = position;

            Velocity = direction;
            Velocity.Normalize();
            Velocity *= Utility.FIREBALL_SPEED;

            sprite = new MarioFireballSprite();
            lifeRemaining = Utility.FIREBALL_LIFE;
        }
Exemple #2
0
 public Cursor() {
     sprite = new MarioFireballSprite();
     Choice = Utility.LEVEL_SELECT_ORIGINAL_CHOICE;
     ChoiceSelected = false;
     position = new Vector2(Utility.CURSOR_X_VALUE, Utility.ORIGINAL_CHOICE_Y_VALUE + Utility.CURSOR_Y_OFFSET);
 }