private Module_Controller(GameState_Controller in_gameModule, CardFactory factory, Client client)
 {
     this.gameModule   = in_gameModule;
     this.dataModule   = new Data_Controller(factory);
     this.inputModule  = new Input_Controller(this);
     this.clientModule = new Client_Controller(client, this);
     this.skillModule  = new Skill_Controller(this);
     this.AI_module    = new AI_Controller(this);
 }
        public static Module_Controller CreateModuleController(GameState_Controller in_gameModule, CardFactory factory, Client client)
        {
            if (instance == null)
            {
                instance = new Module_Controller(in_gameModule, factory, client);
            }

            return(instance);
        }
 public OrderChangeState(Module_Controller in_module, GameState_Controller in_controller, Interactions in_interactions) : base(in_module, in_controller, in_interactions)
 {
     this.modules      = in_module;
     this.controller   = in_controller;
     this.interactions = in_interactions;
 }
Ejemplo n.º 4
0
 public Interactions(GameState_Controller in_controller, Module_Controller in_module)
 {
     this.controller = in_controller;
     this.modules    = in_module;
 }
 public CardPutAwayState(Module_Controller in_module, GameState_Controller in_controller, Interactions in_interactions) : base(in_module, in_controller, in_interactions)
 {
     this.modules      = in_module;
     this.controller   = in_controller;
     this.interactions = in_interactions;
 }
 public GameState(Module_Controller in_module, GameState_Controller in_controller, Interactions in_interactions)
 {
     this.modules      = in_module;
     this.controller   = in_controller;
     this.interactions = in_interactions;
 }
Ejemplo n.º 7
0
 public SelectFightTypeState(Module_Controller in_module, GameState_Controller in_controller, Interactions in_interactions) : base(in_module, in_controller, in_interactions)
 {
     this.modules      = in_module;
     this.controller   = in_controller;
     this.interactions = in_interactions;
 }