diff options
| author | realtradam <[email protected]> | 2023-06-06 06:39:09 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-06-06 06:39:09 -0400 |
| commit | 6c2a5968c27bffe4233be55d13ce01c63ab292ef (patch) | |
| tree | eea32374c41eae9f1d6c8baa8cd103ead453eeaf /src/bullet.h | |
| parent | d40893aa03f75d68c8770823b9eb96847dd16426 (diff) | |
| download | rodeo_sample_game-6c2a5968c27bffe4233be55d13ce01c63ab292ef.tar.gz rodeo_sample_game-6c2a5968c27bffe4233be55d13ce01c63ab292ef.zip | |
complete most of the rodeo kit rewrite to avoid exposed pointers
Diffstat (limited to 'src/bullet.h')
| -rw-r--r-- | src/bullet.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bullet.h b/src/bullet.h index bf34af6..50b18b8 100644 --- a/src/bullet.h +++ b/src/bullet.h @@ -5,7 +5,7 @@ typedef struct { - world_id id; + rodeo_collision_2d_item_t item; rodeo_color_RGBAFloat_t color; } bullet_t; @@ -35,7 +35,7 @@ spawn_bullet( float y, float dx, float dy, - rodeo_collision_2d_world_t *bullet_world, + rodeo_collision_2d_collection_t bullet_world, rodeo_color_RGBAFloat_t color ); @@ -44,16 +44,16 @@ move_bullets(void); bullet_t* get_bullet_by_id( - world_id id + rodeo_collision_2d_item_id_t id ); void draw_bullets(void); -rodeo_collision_2d_world_t * +rodeo_collision_2d_collection_t get_enemy_bullet_world(void); -rodeo_collision_2d_world_t * +rodeo_collision_2d_collection_t get_player_bullet_world(void); void |
