mirror of https://github.com/axmolengine/axmol.git
add miss api
This commit is contained in:
parent
0646e59bf3
commit
bd3789e0b5
|
@ -127,6 +127,12 @@ int Layer::executeScriptTouchesHandler(EventTouch::EventCode eventType, const st
|
|||
#pragma warning (disable: 4996)
|
||||
#endif
|
||||
|
||||
/// isTouchEnabled getter
|
||||
bool Layer::isTouchEnabled() const
|
||||
{
|
||||
return _touchEnabled;
|
||||
}
|
||||
|
||||
/// isTouchEnabled setter
|
||||
void Layer::setTouchEnabled(bool enabled)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue