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:
@@ -50,7 +50,7 @@ namespace box2d
|
||||
data = 0;
|
||||
}
|
||||
|
||||
int Shape::getType() const
|
||||
Shape::Type Shape::getType() const
|
||||
{
|
||||
switch(shape->GetType())
|
||||
{
|
||||
@@ -59,7 +59,7 @@ namespace box2d
|
||||
case e_polygonShape:
|
||||
return SHAPE_POLYGON;
|
||||
default:
|
||||
return -1;
|
||||
return SHAPE_INVALID;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user