Files
FOU/Scripts/Elements/Solid.cs
rogo da3afd22fc fixed drawpixel optimization
minor class refactoring
2025-04-27 15:05:40 +02:00

18 lines
381 B
C#

using Godot;
namespace FOU.Scripts.Elements;
public abstract class Solid : Element {
protected Solid(int x, int y, ref Chunk chunk) : base(x, y, chunk) {
MarkForUpdate();
}
public override bool Update() {
if (!base.Update()) return false;
Tick();
return true; // not necessarily end, subclasses could do some more things
}
}