public GOUpdate(InteractableStorage storage) { this.instance = storage; this.gameObject = storage.gameObject; this.type = EGOUpdate.STORAGE; }
public GOUpdate(InteractableSentry sentry) { this.instance = sentry; this.gameObject = sentry.gameObject; this.type = EGOUpdate.SENTRY; }
public GOUpdate(Animal animal) { this.instance = animal; this.gameObject = animal.gameObject; this.type = EGOUpdate.ANIMAL; }
public GOUpdate(InteractableVehicle vehicle) { this.instance = vehicle; this.gameObject = vehicle.gameObject; this.type = EGOUpdate.VEHICLE; }
public GOUpdate(InteractableItem item) { this.instance = item; this.gameObject = item.gameObject; this.type = EGOUpdate.ITEM; }
public GOUpdate(Zombie zombie) { this.instance = zombie; this.gameObject = zombie.gameObject; this.type = EGOUpdate.ZOMBIE; }
public GOUpdate(SteamPlayer player) { this.instance = player; this.gameObject = player.player.gameObject; this.type = EGOUpdate.PLAYER; }