Huh, alright. Thanks.
On 05/01/16 5:50 PM, Straivers wrote:
On Tuesday, 5 January 2016 at 04:41:45 UTC, Rikki Cattermole wrote:
On 05/01/16 5:37 PM, Straivers wrote:
Hello,
I'm working on an event system, and I want to be able to check if an
event is a subclass of another event. How might I go about this? In
essenc
On Tuesday, 5 January 2016 at 04:41:45 UTC, Rikki Cattermole
wrote:
On 05/01/16 5:37 PM, Straivers wrote:
Hello,
I'm working on an event system, and I want to be able to check
if an
event is a subclass of another event. How might I go about
this? In
essence, I'm looking to compress this:
st
On 05/01/16 5:37 PM, Straivers wrote:
Hello,
I'm working on an event system, and I want to be able to check if an
event is a subclass of another event. How might I go about this? In
essence, I'm looking to compress this:
static if (E == UserInputEvent || E == MouseEvent || E ==
MouseButtonEvent
Hello,
I'm working on an event system, and I want to be able to check if
an event is a subclass of another event. How might I go about
this? In essence, I'm looking to compress this:
static if (E == UserInputEvent || E == MouseEvent || E ==
MouseButtonEvent || E == MouseReleasedEvent)
{