ooxi / violetland

An open source cross-platform game similar to Crimsonland
https://violetland.github.io/
Other
66 stars 16 forks source link

Refactor window handling to use boost::function instead of static function pointers #91

Closed ooxi closed 8 years ago

ooxi commented 8 years ago

Therefore no dynamic casting and type checking at runtime is necessary. Furthermore handlers can easily contain state and accept more arguments.