proper collision
This commit is contained in:
parent
83e312894b
commit
553ab7c1df
10 changed files with 143 additions and 8 deletions
|
@ -1,4 +1,5 @@
|
|||
#pragma once
|
||||
#include <SDL.h>
|
||||
#include <string>
|
||||
|
||||
enum PPlayerFacingDirection { Up, Down, Left, Right };
|
||||
|
@ -13,3 +14,4 @@ struct PPlayer {
|
|||
};
|
||||
|
||||
void PRenderPlayer(PPlayer *player);
|
||||
SDL_Rect PGetPlayerRect(PPlayer *player);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue