示例#1
0
 public StarmanBullet(GameScene game, Vector position, Starman.Direction direction, double x)
     : base(game, RADIUS, position, new Vector(direction == Starman.Direction.Left ? -1 : 1, 0), DAMAGE)
 {
     this.direction = direction;
     baseHeight = position.Y;
     count = 0;
     this.x = x;
 }
示例#2
0
 public StarmanBullet(GameScene game, Vector position, Starman.Direction direction, double x)
     : base(game, RADIUS, position, new Vector(direction == Starman.Direction.Left ? -1 : 1, 0), DAMAGE)
 {
     this.direction = direction;
     baseHeight     = position.Y;
     count          = 0;
     this.x         = x;
 }