Sleepy-Fish / FrogFarts

Fart into the skies
https://sleepy.fish/frogfart
GNU General Public License v3.0
1 stars 1 forks source link

Entity Super Class #2

Closed JRileyH closed 5 years ago

JRileyH commented 5 years ago

Both player and platform has a kind of fucky way of setting both its own position and dimensions to be equal to its sprite properties postition and dimensions. Some of this could probably be abstracted out into a Parent Entity class that provides common methods to setting x, y coordinates, the existing "moveTo" function. and setting height and width.

JRileyH commented 5 years ago

https://github.com/Sleepy-Fish/GameJam/tree/riley/entity-rework