KeyCode and Switch-Case

hpesoj

27-03-2009 01:07:45

Hi guys, as usually fantastic work :). I'm always impressed with how much development goes on with this engine. I have another small problem though. With the new style KeyCode class, there is no longer any way to compare it in a case statement. You initially put in a toValue() method, but have removed it in the latest revisions. Is there a particular reason why this was removed, or could it be added back in?

Cheers.

my.name

27-03-2009 10:43:17

update from svn. revision 1859