@hytopia.com/examples 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,7 @@ import ChitterForestRegion from './regions/chitter-forest/ChitterForestRegion';
10
10
  import RatkinNestRegion from './regions/ratkin-nest/RatkinNestRegion';
11
11
  import StalkhavenRegion from './regions/stalkhaven/StalkhavenRegion';
12
12
  import StalkhavenPortRegion from './regions/stalkhaven-port/StalkhavenPortRegion';
13
- import WeaversHollowRegion from './regions/weavers-hollow/WeaversHollowRegion';
13
+ // import WeaversHollowRegion from './regions/weavers-hollow/WeaversHollowRegion';
14
14
 
15
15
  // Since globalEventRouter isn't exported in the main index, we'll handle cleanup differently
16
16
  // We can rely on the GamePlayer.remove() method being called manually when needed
@@ -41,32 +41,32 @@ export default class GameManager {
41
41
  }
42
42
 
43
43
  public loadRegions(): void {
44
- // // Chitter Forest
45
- // const chitterForestRegion = new ChitterForestRegion();
46
- // this._regions.set(chitterForestRegion.id, chitterForestRegion);
47
- // GameClock.instance.addRegionClockCycle(chitterForestRegion);
44
+ // Chitter Forest
45
+ const chitterForestRegion = new ChitterForestRegion();
46
+ this._regions.set(chitterForestRegion.id, chitterForestRegion);
47
+ GameClock.instance.addRegionClockCycle(chitterForestRegion);
48
48
 
49
- // // Ratkin Nest
50
- // const ratkinNestRegion = new RatkinNestRegion();
51
- // this._regions.set(ratkinNestRegion.id, ratkinNestRegion);
52
- // GameClock.instance.addRegionClockCycle(ratkinNestRegion);
49
+ // Ratkin Nest
50
+ const ratkinNestRegion = new RatkinNestRegion();
51
+ this._regions.set(ratkinNestRegion.id, ratkinNestRegion);
52
+ GameClock.instance.addRegionClockCycle(ratkinNestRegion);
53
53
 
54
- // // Stalkhaven
55
- // const stalkhavenRegion = new StalkhavenRegion();
56
- // this._regions.set(stalkhavenRegion.id, stalkhavenRegion);
57
- // GameClock.instance.addRegionClockCycle(stalkhavenRegion);
54
+ // Stalkhaven
55
+ const stalkhavenRegion = new StalkhavenRegion();
56
+ this._regions.set(stalkhavenRegion.id, stalkhavenRegion);
57
+ GameClock.instance.addRegionClockCycle(stalkhavenRegion);
58
58
 
59
- // // Stalkhaven Port
60
- // const stalkhavenPortRegion = new StalkhavenPortRegion();
61
- // this._regions.set(stalkhavenPortRegion.id, stalkhavenPortRegion);
62
- // GameClock.instance.addRegionClockCycle(stalkhavenPortRegion);
63
- // // this._startRegion = stalkhavenPortRegion;
59
+ // Stalkhaven Port
60
+ const stalkhavenPortRegion = new StalkhavenPortRegion();
61
+ this._regions.set(stalkhavenPortRegion.id, stalkhavenPortRegion);
62
+ GameClock.instance.addRegionClockCycle(stalkhavenPortRegion);
63
+ this._startRegion = stalkhavenPortRegion;
64
64
 
65
65
  // Weaver's Hollow
66
- const weaversHollowRegion = new WeaversHollowRegion();
67
- this._regions.set(weaversHollowRegion.id, weaversHollowRegion);
68
- // GameClock.instance.addRegionClockCycle(weaversHollowRegion);
69
- this._startRegion = weaversHollowRegion;
66
+ // const weaversHollowRegion = new WeaversHollowRegion();
67
+ // this._regions.set(weaversHollowRegion.id, weaversHollowRegion);
68
+ // // GameClock.instance.addRegionClockCycle(weaversHollowRegion);
69
+ // this._startRegion = weaversHollowRegion;
70
70
  }
71
71
 
72
72
  private _selectWorldForPlayer = async (player: Player): Promise<World | undefined> => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hytopia.com/examples",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",