Beispiel #1
0
    // Use this for initialization
    void Start()
    {
        //worldState = new WorldState();
        AnimalFactory animalFactory = GetComponent <AnimalFactory>();

        worldState.Initialize(animalFactory);

        TraitFactory.instantiateAllTraits();

        homeState = new HomeState();
        homeState.Initialize();
        activeState = homeState;
    }