public BaseActor Shoot() { h_startShootTimer(); var bullet = new EnemyBullet(Info, this); bullet.Load(); return(bullet); }
public EnemyBullet CreateEnemyBullet(Ship2 ship) { var enbullet = new EnemyBullet(Info); int positionY = ship.Position.Y + 26; int positionX = ship.Position.X + 12; enbullet.Position = new Point(positionX, positionY); enbullet.Load(); return(enbullet); }
public EnemyBullet CreatEnemyBullet() { var enemybullet = new EnemyBullet(Info); int positionY = Position.Y + 20; int positionX = Position.X + 20; enemybullet.Position = new Point(positionX, positionY); enemybullet.Load(); return(enemybullet); }