public FiniteStateMachine(MonoBehaviour parent)
    {
        this.parent = parent;

        actionsCache = new ActionsCache(parent);

        time  = 0.0f;
        timer = 0.0f;
    }
예제 #2
0
 public CachedRepository(MongoRepository repository)
 {
     _repository   = repository;
     sessionsCache = new SessionsCache(repository);
     actionsCache  = new ActionsCache(repository);
 }