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