Ejemplo n.º 1
0
 public UnitPlayer(Player player)
     : base(player, 100)
 {
     _inventory = new NetworkObservableCollection<object>();
     _headerX = _headerY = -1;
     _guns.CollectionChanged += _guns_CollectionChanged;
 }
Ejemplo n.º 2
0
 public Board()
 {
     _maxHeight = -1;
     _maxWidth = -1;
     _tiles = new NetworkObservableCollection<int>();
     _specialTiles = new NetworkObservableCollection<ITileSpecial>();
     _units = new NetworkObservableCollection<IUnit>();
 }
Ejemplo n.º 3
0
 public UnitHelper(Player player, int health)
 {
     _health = health;
     _player = player;
     _lastX = -1;
     _lastY = -1;
     _delay = 0;
     _guns = new NetworkObservableCollection<Gun>();
     _dead = false;
     _selectedGun = 0;
 }
Ejemplo n.º 4
0
 public Gun()
 {
     _shots = new NetworkObservableCollection<IShot>();
     _lastX = -1;
     _lastY = -1;
 }