NewCreature / JoyNet

A base networking engine which synchronize input over a network to produce duplicate games.
3 stars 2 forks source link

Factor Out Game Type-Specific Code #5

Open NewCreature opened 12 years ago

NewCreature commented 12 years ago

Would like to eventually get all the code specific to the different game types factored out. The plan is to have "drivers" that handle the different game types. Shouldn't be too difficult now that player management has been separated from input handling.

We will need to make the "controllers" generic, with the necessary information and a void pointer to the extra game type-specific data.

We will need to make sure this doesn't make the library more difficult to use. Users need to be able to access game->controller[] and game->player_controller[] data without too much trouble.