Closed willwull closed 8 years ago
:+1:
I haven't checked out #69 in detail, but will the code in that one affect this if we merge #69?
No it won't but maybe we will use a texture atlas for the player later. Your switch solution looks fine. A shorter version would be to just cast PlayerDirection to an int. ((int)PlayerDirection) since the underlaying enum has int values from 0 to 4 in the order they were typed in:
This looks good to me
Hey y'all, so I continued @xobust's work and added a new sprite sheet for the player that has 4 directions.
Let me know what you guys think of my implementation in
Player.Draw
, I'm not sure if my solution with theswitch
statement is the most elegant one.66