Add spacebar input; add shape enabling/disablg and sensors

This commit is contained in:
2023-01-16 23:18:09 +00:00
parent 4ee6e1683b
commit 5085597eeb
6 changed files with 23 additions and 166 deletions

View File

@@ -97,6 +97,8 @@ void phys2d_add_handler_type(int cmd, int go, struct callee c);
void register_collide(void *sym);
void phys2d_set_gravity(cpVect v);
cpShape *id2shape(int id);
struct color {
unsigned char r;
unsigned char g;