public void RunFireBall(int x, int y, FireBallType T, FireBallDir D) { Type = T; Direction = D; if (Type == FireBallType.FT_Mario) { if (D == FireBallDir.FB_Right) { Dirx = 1; } else { Dirx = -1; } } if (Type == FireBallType.FT_Piranah) { } SetFireProperties(); newx = x; newy = y; StartFireBall(); }
public void RunFireBall(int x, int y, FireBallType T, FireBallDir D) { Type = T; Direction = D; if (Type == FireBallType.FT_Mario) { if (D == FireBallDir.FB_Right) Dirx = 1; else Dirx = -1; } if (Type == FireBallType.FT_Piranah) { } SetFireProperties(); newx = x; newy = y; StartFireBall(); }