DavidPeek/robothaxe — pull request #5 by moveaway00 (2011-12-08 01:19:49+00:00)
Title: Change to constants and make ContextEvent strongly typed

I changed variables that looked like constants (public static var) and made them into constants (public static inline var). This shouldn't make much difference, besides being a bit more proper, and eliminating a lookup to a variable.

I also made ContextEvent strongly typed, by giving it a type parameter. I could still be extended to hide the parameter.

I'm not entirely sure about the intricate inner details of robothaxe, so it's entirely possible that either commit could have broken something unknown. I think the changes should be fairly safe though, especially the inlines.