A Smoll game engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
447 B

namespace Smoll {
public interface IActionable : IComparable<IActionable>{
public int zOrder{get; set;}
public virtual void Update(float deltaTimeSeconds) {}
public virtual void Draw(Layer.DrawMode drawMode) {}
int IComparable<IActionable>.CompareTo(IActionable? other)
{
return zOrder - other.zOrder;
}
public virtual bool ScheduledForRemoval() { return false; }
}
}