Esempio n. 1
0
 public GOUpdate(InteractableStorage storage)
 {
     this.instance   = storage;
     this.gameObject = storage.gameObject;
     this.type       = EGOUpdate.STORAGE;
 }
Esempio n. 2
0
 public GOUpdate(InteractableSentry sentry)
 {
     this.instance   = sentry;
     this.gameObject = sentry.gameObject;
     this.type       = EGOUpdate.SENTRY;
 }
Esempio n. 3
0
 public GOUpdate(Animal animal)
 {
     this.instance   = animal;
     this.gameObject = animal.gameObject;
     this.type       = EGOUpdate.ANIMAL;
 }
Esempio n. 4
0
 public GOUpdate(InteractableVehicle vehicle)
 {
     this.instance   = vehicle;
     this.gameObject = vehicle.gameObject;
     this.type       = EGOUpdate.VEHICLE;
 }
Esempio n. 5
0
 public GOUpdate(InteractableItem item)
 {
     this.instance   = item;
     this.gameObject = item.gameObject;
     this.type       = EGOUpdate.ITEM;
 }
Esempio n. 6
0
 public GOUpdate(Zombie zombie)
 {
     this.instance   = zombie;
     this.gameObject = zombie.gameObject;
     this.type       = EGOUpdate.ZOMBIE;
 }
Esempio n. 7
0
 public GOUpdate(SteamPlayer player)
 {
     this.instance   = player;
     this.gameObject = player.player.gameObject;
     this.type       = EGOUpdate.PLAYER;
 }