Beispiel #1
0
 public AbstractRectbombularThing(BomberMatch match, bool destroyable, bool passable, bool deadly, Vector position, Vector size)
 {
     this.Destroyable = destroyable;
     this.Passable    = passable;
     this.Deadly      = deadly;
     this.Position    = position;
     this.Size        = size;
     this.Match       = match;
 }
Beispiel #2
0
 public Bomb(BomberGuy player, BomberMatch match, Vector position) : base(match, true, false, false, position, match.CellSize * Constants.Bomb.REL_SIZE)
 {
     timer       = match.TimeOnce(2000, () => Destroy());
     this.player = player;
 }
Beispiel #3
0
 public Bomb(BomberGuy player, BomberMatch match) : this(player, match, new Vector())
 {
 }
Beispiel #4
0
 public Unbombable(BomberMatch match, Vector position, Vector size) : base(match, false, false, false, position, size)
 {
 }
Beispiel #5
0
 public Unbombable(BomberMatch match, Vector size) : this(match, new Vector(), size)
 {
 }
Beispiel #6
0
 public Bombstacle(BomberMatch match, Vector position, Vector size) : base(match, true, false, false, position, size)
 {
 }
Beispiel #7
0
 public Bombstacle(BomberMatch match, Vector size) : this(match, new Vector(), size)
 {
 }
Beispiel #8
0
 public AbstractRectbombularThing(BomberMatch match, bool destroyable, bool passable, bool deadly, Vector size) : this(match, destroyable, passable, deadly, new Vector(), size)
 {
 }