rwarnking / pdf-games

Collection of mini-games that run in a pdf using latex and javascript
MIT License
0 stars 0 forks source link

ASCIIMon: Index CREATURE_LIST instead of copying #72

Closed rwarnking closed 2 years ago

rwarnking commented 2 years ago

Change function getCreature(curLvl), line 1547. Do not copy everything, instead have an id to the original list and extra attributes for the instance variables.

rwarnking commented 2 years ago

Idea was discarded since the number of creatures that need to be saved at a time is very limited and the indices would need to be changed.