Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 3
0
 public InteractableObject(int objectType, ObjectPosition transfrom)
 {
     this.transfrom  = transfrom;
     this.objectType = (Types)objectType;
 }