12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- using CommonAI.Zone.ZoneEditor;
- using CommonAI.Zone.Instance;
- using CommonAI.Zone;
- using CommonAI.ZoneClient;
- using CommonAI.Data;
- namespace CommonAIClient.Client
- {
- public class BattleLocalPlay : BattleLocal
- {
- private EditorScene mZone;
- public override EditorScene Zone
- {
- get { return mZone; }
- }
- public BattleLocalPlay(EditorTemplates data_root, SceneData scene)
- : base(data_root)
- {
- this.mZone = TemplateManager.Factory.CreateEditorScene(data_root.Templates, this, scene, new GSCreateAreaData(), null);
- this.mZone.IsSyncZ = true;
- this.mZone.queueEvent(new ClientEnterScene(scene.ID, mZone.SpaceDivSize, data_root.Templates.ResourceVersion), mZone);
- }
- protected override void Disposing()
- {
- base.Disposing();
- this.mZone.Dispose();
- this.mZone = null;
- }
- }
- }
|