/// public メソッド ///--------------------------------------------------------------------------- /// 初期化 public bool Init() { actorStg = new ActorStgNormal(); actorStg.Init(); actorDestination = new ActorDestinationMark(); actorDestination.Init(); calCollLook = new ActorUnitCollLook(); calCollLook.Init(); EventCntr = new GameActorEventContainer(); EventCntr.Init(); towerPos.Xyz = StaticDataList.getVectorZero(); effectPos.Xyz = StaticDataList.getVectorZero(); mode = 0; TouchCount = 0; MonumentSetFlag = false; makeEnemyMonument = 0; TowerAreaNorth = -114.4f; TowerAreaSouth = -120.4f; TowerAreaEast = 109.0f; TowerAreaWest = 103.0f; return(true); }
/// 破棄 public void Term() { if (calCollLook != null) { calCollLook.Term(); } if (EventCntr != null) { EventCntr.Clear(); EventCntr.Term(); } actorStg.Term(); actorDestination.Term(); EventCntr = null; calCollLook = null; actorStg = null; actorDestination = null; }
/// 破棄 public void Term() { if( calCollLook != null ){ calCollLook.Term(); } if( EventCntr != null ){ EventCntr.Clear(); EventCntr.Term(); } actorStg.Term(); actorDestination.Term(); EventCntr = null; calCollLook = null; actorStg = null; actorDestination = null; }
/// public メソッド ///--------------------------------------------------------------------------- /// 初期化 public bool Init() { actorStg = new ActorStgNormal(); actorStg.Init(); actorDestination = new ActorDestinationMark(); actorDestination.Init(); calCollLook = new ActorUnitCollLook(); calCollLook.Init(); EventCntr = new GameActorEventContainer(); EventCntr.Init(); towerPos.Xyz = StaticDataList.getVectorZero(); effectPos.Xyz = StaticDataList.getVectorZero(); mode = 0; TouchCount = 0; MonumentSetFlag = false; makeEnemyMonument = 0; TowerAreaNorth = -114.4f; TowerAreaSouth = -120.4f; TowerAreaEast = 109.0f; TowerAreaWest = 103.0f; return true; }