quote:Original post by superpig
Where's Enginuity 4!!! *cries bitterly*
I wouldn't get to torn up about straying a tiny little bit from a pure OOP implementation because, really, the only people in the world that really care if something is 100.42% OOP are CS professors, who are, in general, a bunch of old farts. You're not an old fart, are you, Jim .. err Cybrosys?
If it really chafes you to have loose functions flying around, do the Lua thing. Have functions in lua that will tell some sort of "lua->player control" wrapper class that the player is turning left/jumping/taking a pee. Have the lua script get events from your input class and have the script map these events to specific functions. Kind of an old style telephone operator plugging wires into holes solution, but it'd work, allow configuration in runtime and allow obsessives among us to maintain their sparkling OOP solution.
I think.
edit: Or functors. Functors are nice because they sound naughty.
[edited by - TSwitch on July 12, 2003 8:10:39 PM]
Member of the Unban nes8bit or the White Rhino in my Basement Gets Sold to the Highest Bidder Association (UNWRBGSHBA - Not accepting new members.)Member of the I'm Glad Mithrandir Finally Found an Association that Accepts People with his Past History Association (IGMFFAAPPHA)