Closed apodgo2 closed 7 years ago
Refactor of Block code into new parent class GridObject mostly completed as of c2476f4
https://github.com/Anedumgottil/VR-Mazmorra/commit/c2476f4728c1145434c273b6afb23a312a21ad28
Closing issue ticket, further commits completely solved issue
All that needs doing as of the most recent commit on repo at this time is to stop storing our Blocks in an array and instead use the new clone constructors to make copies of them into the new GridObject class, and then store those into the Grid instead.
See Issue #5 for more information on this complicated transition from Prefab storage to Abstract Class storage
We need the current Grid system to be refactored to hold both Map Tiles as well as the current Block system
The GridObjects ( a block or a tile, new parent class necessary for these two, refactor) will be stored in a GridSpace which will have two data storage objects, one for tiles and one for objects, so they can both co-exist on the same GridSpace. It will handle calculating positional offsets and such based on it's grid position.
These will be the items that the 2D Gridview will manipulate