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