mirror of
https://github.com/love2d/love.git
synced 2026-08-12 16:40:57 +02:00
Added Source:getType, removed Source:isStatic (resolves issue #776)
--HG-- branch : minor
This commit is contained in:
@@ -34,6 +34,11 @@ Source::~Source()
|
||||
{
|
||||
}
|
||||
|
||||
Source::Type Source::getType() const
|
||||
{
|
||||
return type;
|
||||
}
|
||||
|
||||
bool Source::getConstant(const char *in, Type &out)
|
||||
{
|
||||
return types.find(in, out);
|
||||
|
||||
Reference in New Issue
Block a user