void SDLWrapper::OnMouseMove( int x, int y, int relx, int rely, bool left, bool right, bool middle ) { Input::getInstance()->onTouch(tTouchEvent(tTouchEvent::kTouchMove, tPoint2f(x, y), 0)); }
void Entity::draw(tSpriteBatch* spriteBatch) { spriteBatch->draw(1, mImage, tPoint2f((int32_t)mPosition.x, (int32_t)mPosition.y), tOptional<tRectf>(), mColor, mOrientation, getSize() / 2, tVector2f(1,1)); }