makeopensource / Classic-RPG

A classic role-playing game with an engine.
GNU General Public License v3.0
7 stars 19 forks source link

Better Tile and Region constructors #31

Closed russella26 closed 2 years ago

russella26 commented 2 years ago

Right now, we have a problem where Tiles require a Region to be initialized, but Region requires a Tile matrix to be initialized. This can be resolved by creating new constructors for region and tile that do not take a tile matrix or region respectively, and allow them to be assigned later.

jakesavi commented 2 years ago

Tile and Region Constructors work as expected.