Пример #1
0
    //public SpellQueue spellQueue;

    private GameCore()
    {
        spellRepository  = new SpellRepository(this);
        itemRepository   = new ItemRepository();
        spellCastHandler = new SpellCastHandler();
        troopsHandler    = new TroopsHandler();
        chosenAccount    = new Account();
        chosenAccount.LoadAccData();
        chosenAdventure = new Adventure(-1);
        espellHandler   = new EnemySpellInfoHandler();
        //spellQueue = new SpellQueue();
    }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     instance          = this;
     moveTroopsActions = new List <MoveTroopsAction> ();
     addTroopsActions  = new List <AddTroopsAction>();
 }