示例#1
0
文件: Gun.cs 项目: andrey2888/Letalka
 public Gun(Vector2 position, GunType type, WorldObject parent)
 {
     this.position = position;
     this.type     = type;
     this.parent   = parent;
 }
示例#2
0
 public void AddGun(GunType type, Vector2 position)
 {
     Guns.Add(new Gun(position, type, this));
 }