예제 #1
0
    public Director()
    {
        state = new StateMachine<Director>(this);
        state.SetCurrentState(DirectorStateMachine1.Instance);

        entityManager = EntityManager<Actor>.CreateEntityManager();
        messageDispatcher = MessageDispatcher<Actor>.CreateMessageDispatcher(entityManager);
        helper = new DirectorHelper(this);
        helper.CreateActor();
    }