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.

14 lines
378 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 other.zOrder - zOrder;
}
}
}