Exemplo n.º 1
0
 public void destroy(WindowPool pool)
 {
     pool.destroyWindow(mBackTile);
     pool.destroyWindow(mMidTile);
     pool.destroyWindow(mObjectTile);
     pool.destroyWindow(mEffect);
 }
Exemplo n.º 2
0
 public ScriptSceneEditor(string name, GameLayout layout)
     :
     base(name, layout)
 {
     mBackPanelList        = new Dictionary <int, txNGUIPanel>();
     mWindowPool           = new WindowPool(this);
     mVisibleTiles         = new Dictionary <int, MapTile>();
     mBackTilePath         = CommonDefine.R_GAME_TEXTURE_PATH + "MapTexture/Tiles/";
     mMidTilePath          = CommonDefine.R_GAME_TEXTURE_PATH + "MapTexture/SmTiles/";
     mObjectImagePreString = CommonDefine.R_GAME_TEXTURE_PATH + "MapTexture/Objects";
 }
Exemplo n.º 3
0
 public ScriptSceneAdvanceEditor(string name, GameLayout layout)
     :
     base(name, layout)
 {
     mBackPanelList        = new Dictionary <int, PanelInfo>();
     mBackAtlasList        = new Dictionary <int, List <int> >();
     mWindowPool           = new WindowPool(this);
     mVisibleTiles         = new Dictionary <int, MapTileAdvance>();
     mObjAtlasIndexMap     = new Dictionary <int, Dictionary <int, UIAtlas> >();
     mBngAtlasIndexMap     = new Dictionary <int, UIAtlas>();
     mEffectAtlasIndexMap  = new Dictionary <int, Dictionary <int, UIAtlas> >();
     mBackTilePath         = CommonDefine.R_ATLAS_PATH + "Map/Tiles/";
     mEffectPath           = CommonDefine.R_ATLAS_TEXTURE_ANIM_PATH + "Effect/Map/";
     mObjectImagePreString = CommonDefine.R_ATLAS_PATH + "Map/Objects";
 }