mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Finally abstracted constants properly. Changed how the event module works; wasn't really abstract before. Removed libs we're not going to use: native, signal.
This commit is contained in:
@@ -56,7 +56,7 @@ namespace box2d
|
||||
joint = 0;
|
||||
}
|
||||
|
||||
int Joint::getType() const
|
||||
Joint::Type Joint::getType() const
|
||||
{
|
||||
switch(joint->GetType())
|
||||
{
|
||||
@@ -73,7 +73,7 @@ namespace box2d
|
||||
case e_gearJoint:
|
||||
return JOINT_GEAR;
|
||||
default:
|
||||
return -1;
|
||||
return JOINT_INVALID;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user