lua/wrappers/game/lua_game.cpp
/**
	 * Compares this game against another game object.
	 *
	 * @param am.game rhs The other game object to compare.
	 * @returns boolean True if they are the same object.
	 */
Compares this game against another game object.
@param am.game rhs The other game object to compare.
@returns boolean True if they are the same object.
Compares this game against another game object . @param am . game rhs The other game object to compare . @returns boolean True if they are the same object .
int Game_eq(lua_State *lua)
	{
		Game *lhs = castUData<Game>(lua, 1);
		if (!lhs)
		{
			return LuaState::expectedContext(lua, "__eq", "am.game");
		}
		Game *rhs = castUData<Game>(lua, 2);
		lua_pushboolean(lua, lhs == rhs);
		return 1;
	}
int Game_eq ( lua_State * lua ) { Game * lhs = castUData < Game > ( lua , 1 ) ; if ( ! lhs ) { return LuaState :: expectedContext ( lua , " " , " " ) ; } Game * rhs = castUData < Game > ( lua , 2 ) ; lua_pushboolean ( lua , lhs == rhs ) ; return 1 ; }
Compares this game against another game object.
Compares this game against another game object .