Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

KoduConditionGamepad.cc

Go to the documentation of this file.
00001 // Kodu Library
00002 #include "Kodu/KoduWorld.h"
00003 #include "Kodu/Primitives/KoduConditionGamepad.h"
00004 #include "Kodu/General/GeneralMacros.h"
00005 #include "Shared/Gamepad.h"
00006 #include "Kodu/General/KoduState.h"
00007 
00008 namespace Kodu {
00009 
00010   bool KoduConditionGamepad::evaluate(const KoduWorld& kWorldState) {
00011     bool result = ( state.joystickx != 0 || state.joysticky != 0 );
00012     return result;
00013   }
00014 
00015 }

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:43 2016 by Doxygen 1.6.3