Beispiel #1
0
        public override void OnStateEnter(ProductionBuilding productionBuilding)
        {
            base.OnStateEnter(productionBuilding);

            m_targetBuilding.ProductionBuildingView.SetDrawingUIActive(true);

            string       cityNumber   = ServiceLocator.Instance.Get <IUserProfileModel>().CurrentCity;
            CityData     cityData     = ConfigManager.Instance.Get <CityConfig>().GetCityData(cityNumber);
            GraffitiData graffitiData = cityData.GetLevelData(m_targetBuilding.Id).GraffitiData;

            m_graffitiBlocksCount = graffitiData.blocksCount;
        }
Beispiel #2
0
 protected BaseGameFactory(GraffitiData graffitiData, IGraffitiHolst holst)
 {
     _graffitiData = graffitiData;
     _holst        = holst;
 }
Beispiel #3
0
 public DefaultGameFactory(GraffitiData graffitiData, IGraffitiHolst holst) : base(graffitiData, holst)
 {
 }
Beispiel #4
0
 protected BaseGraffitiDrawer(GraffitiData graffitiData, IGraffitiHolst holst)
 {
     GraffitiData = graffitiData;
     Holst        = holst;
 }
Beispiel #5
0
 private void OnEnable()
 {
     _graffitiData = (GraffitiData)target;
 }
Beispiel #6
0
 public ViewGameFactory(GraffitiData graffitiData, IGraffitiHolst holst) : base(graffitiData, holst)
 {
 }
Beispiel #7
0
 public bool Exists(string categoryName)
 {
     return(GraffitiData.GetCategory(categoryName) != null);
 }
 public DefaultGraffitiDrawer(GraffitiData graffitiData, IGraffitiHolst holst) : base(graffitiData, holst)
 {
 }