added diffuse speed and refactoring

This commit is contained in:
2023-12-02 01:10:18 +01:00
parent eb94c3bef9
commit f0a6396073
2 changed files with 19 additions and 11 deletions

View File

@@ -7,6 +7,7 @@ public class Dirt : Solid {
public Dirt(int x, int y, ref Level level) : base(x, y, ref level) {
Color = AddColorVariance(Colors.Brown);
Density = 10;
DiffuseSpeed = 50;
}
public override bool Update(int currentFrame) {