Beispiel #1
0
 public Gun(Vector2 position, GunType type, WorldObject parent)
 {
     this.position = position;
     this.type     = type;
     this.parent   = parent;
 }
Beispiel #2
0
 public void AddGun(GunType type, Vector2 position)
 {
     Guns.Add(new Gun(position, type, this));
 }