Exemple #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;
 }
Exemple #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;
 }
Exemple #3
0
 public GameFieldModel(IFieldDimensionModel fieldDimension)
 {
     FieldDimension = fieldDimension;
     Entities       = new List <IEntityModel>();
     BonusEntities  = new List <IEntityModel>();
 }
Exemple #4
0
 public FieldBoundsApplyService(IFluidFieldDimensionService fluidFieldDimensionService,
                                IFieldDimensionModel fieldDimensionModel)
 {
     FluidFieldDimensionService = fluidFieldDimensionService;
     FieldDimensionModel        = fieldDimensionModel;
 }