예제 #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));
 }