no more windows??
This commit is contained in:
@@ -1,17 +1,18 @@
|
||||
namespace _2DGAMELIB;
|
||||
|
||||
public class ConstProp
|
||||
namespace _2DGAMELIB
|
||||
{
|
||||
private int c = -1;
|
||||
public class ConstProp
|
||||
{
|
||||
private int c = -1;
|
||||
|
||||
public bool GetFlag(double Proportion)
|
||||
{
|
||||
c++;
|
||||
return c % (int)(1.0 / Proportion) == 0;
|
||||
}
|
||||
public bool GetFlag(double Proportion)
|
||||
{
|
||||
c++;
|
||||
return c % (int)(1.0 / Proportion) == 0;
|
||||
}
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
c = -1;
|
||||
}
|
||||
public void Reset()
|
||||
{
|
||||
c = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user