Esempio n. 1
0
 public FieldController(GameConfigModel configModel,
                        GameFieldModel fieldModel,
                        IFieldDimensionModel fieldDimensionModel,
                        IGameObjectFactory gameObjectFactory,
                        IMessageSender messageSender,
                        EntityMapperService entityMapperService)
 {
     ConfigModel         = configModel;
     FieldModel          = fieldModel;
     FieldDimensionModel = fieldDimensionModel;
     GameObjectFactory   = gameObjectFactory;
     MessageSender       = messageSender;
     EntityMapperService = entityMapperService;
 }
Esempio n. 2
0
 public BonusController(GameFieldModel fieldModel,
                        GameConfigModel configModel,
                        IMessageSender messageSender,
                        IFieldDimensionModel fieldDimensionModel,
                        IFieldController fieldController,
                        EntityMapperService mapperService)
 {
     FieldModel          = fieldModel;
     ConfigModel         = configModel;
     MessageSender       = messageSender;
     FieldDimensionModel = fieldDimensionModel;
     FieldController     = fieldController;
     MapperService       = mapperService;
 }