public NPCP(float a_seperation, float a_rotation, float max_speed, AiDirector aid) { this.a_seperation = a_seperation; this.a_rotation = a_rotation; this.max_speed = max_speed; this.aid = aid; }
public NPCB(float a_seperation, float a_rotation, float a_speed, AiDirector aid, float max_perception, float perception_constant) { this.a_seperation = a_seperation; this.a_rotation = a_rotation; this.a_speed = a_speed; this.aid = aid; this.max_perception = max_perception; this.perception_constant = perception_constant; }
// Use this for initialization void Start() { aid = new AiDirector(); NPCA = new NPCA(a_seperation, a_rotation, max_speed, aid); NPCB = new NPCB(a_seperation, a_rotation, max_speed, aid, max_perception, perception_constant); NPCC = new NPCC(a_seperation, a_rotation, max_speed, aid); NPCP = new NPCP(a_seperation, a_rotation, max_speed, aid); NPCW = new NPCW(a_seperation, a_rotation, max_speed, aid); }