Exemple #1
0
    void Awake()
    {
        hostile    = GetComponent <HostileController>();
        store      = GetComponent <ObjectStore>();
        placement  = GetComponent <PlacementController>();
        possession = GetComponent <PossessionHandler>();
        office     = GameObject.Find("LeMinotaure").GetComponent <OfficeController>();

        foreach (PulseController pC in startingControllers)
        {
            pulseControllers.Add(pC);
        }

        screenCentreH = Screen.height / 2;
        screenCentreW = Screen.width / 2;
    }
Exemple #2
0
 public HostileKill(HostileController hostileController) : base(hostileController)
 {
 }
Exemple #3
0
 public HostileAggro(HostileController hostileController) : base(hostileController)
 {
 }
 public HostileStormCastle(HostileController hostileController) : base(hostileController)
 {
 }
Exemple #5
0
 public HostileState(HostileController f_hostileController)
 {
     this.hostileController = f_hostileController;
 }
Exemple #6
0
 void Awake()
 {
     hostile = GameObject.Find("Controller").GetComponent <HostileController>();
 }