public MissionTrigger(int prefab, int objectType, ObjectPosition transform, object data) { this.prefab = (Prefabs)prefab; this.transform = transform; this.type = (Types)objectType; this.data = data; }
public Enemy(string name, ObjectPosition objectPosition, int state, ObjectPosition[] patrolPoints) { this.patrolPoints = patrolPoints; this.startState = (States)state; this.transform = objectPosition; this.name = name; }
public InteractableObject(int objectType, ObjectPosition transfrom) { this.transfrom = transfrom; this.objectType = (Types)objectType; }