This commit is contained in:
tzim 2014-12-13 08:40:41 +00:00
parent ed53f248c2
commit c7262712b5

View file

@ -46,6 +46,16 @@ namespace DMX2
{
return _s;
}
public override float GetFloat ()
{
float f;
if(float.TryParse(_s,out f)) return f;
return 0.0f;
}
public override int GetInt ()
{
return (int)GetFloat();
}
}
private class OSCIntArg : OSCArg{
int _i;