mirror of https://github.com/axmolengine/axmol.git
issue #3069: int --> EventListener::Type.
This commit is contained in:
parent
262b54eef2
commit
0d2d522f12
|
@ -32,7 +32,7 @@ EventListenerCustom::EventListenerCustom()
|
|||
{
|
||||
}
|
||||
|
||||
EventListenerCustom* EventListenerCustom::create(int type, std::function<void(EventCustom*)> callback)
|
||||
EventListenerCustom* EventListenerCustom::create(Type type, std::function<void(EventCustom*)> callback)
|
||||
{
|
||||
EventListenerCustom* ret = new EventListenerCustom();
|
||||
if (ret && ret->init(type, callback))
|
||||
|
|
Loading…
Reference in New Issue