KristalTeam / Kristal

Deltarune fangame engine for Love2D
BSD 3-Clause "New" or "Revised" License
105 stars 51 forks source link

add getters for mirror sprites #141

Closed MrOinky closed 4 months ago

MrOinky commented 4 months ago

the mirror sprites table for actors now has two getter functions getMirrorSprite(sprite) and getMirrorSprites() that retrieve the data so that you can more easily implement dynamic changes to mirror sprites i.e. a change to the mirror sprites on a particular route controlled by a flag - henceforth the mirror object uses getMirrorSprites() rather than directly retreiving the table now