added simple sleep state for elements
refactoring
This commit is contained in:
@@ -10,11 +10,4 @@ public class Dirt : Solid {
|
||||
DiffuseSpeed = 50;
|
||||
}
|
||||
|
||||
public override bool Update(int currentFrame) {
|
||||
if (!base.Update(currentFrame)) return false;
|
||||
|
||||
Tick();
|
||||
|
||||
return true; // not necessarily end, subclasses could do some more things
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user