Updated the new module changes to use more compile/link-time checking rather than runtime checking.

This commit is contained in:
Alex Szpakowski
2014-07-21 15:12:01 -03:00
parent 014b9a46e5
commit d52bab4221
30 changed files with 59 additions and 87 deletions
-5
View File
@@ -33,11 +33,6 @@ namespace box2d
int Physics::meter = Physics::DEFAULT_METER;
Physics::Physics()
{
moduleType = M_PHYSICS;
}
const char *Physics::getName() const
{
return "love.physics.box2d";
+1 -2
View File
@@ -61,10 +61,9 @@ public:
**/
static const int DEFAULT_METER = 30;
Physics();
// Implements Module.
const char *getName() const;
virtual ModuleType getModuleType() const { return M_PHYSICS; }
/**
* Creates a new World.