A Smoll game engine
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 

14 行
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;
}
}
}