A manager dedicated to handling operations performed on all Zoness. A zone manager is exclusively used for managing these.
コード例 #1
0
ファイル: ZoneManager.cs プロジェクト: gitter-badger/OpenORPG
        public static void Create()
        {
            if (Instance != null)
                throw new Exception("Creating the ZoneManager twice is not allowed. Only initialize it once.");

            Instance = new ZoneManager();
        }
コード例 #2
0
ファイル: ZoneManager.cs プロジェクト: GrindFest/GrindFest
 public ZoneManager()
 {
     Current = this;
 }