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