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.
|
namespace Smoll
|
|
{
|
|
public class Component : IActionable
|
|
{
|
|
internal Entity? owner;
|
|
private int zOrderImpl = 0;
|
|
public int zOrder{get{ return zOrderImpl;} set{zOrderImpl = value; if(owner != null) owner.actionables.Sort();}}
|
|
|
|
public Entity GetEntity() {
|
|
return owner;
|
|
}
|
|
|
|
public virtual void OnAttached() {}
|
|
|
|
public virtual void Update(float deltaTimeSeconds) {}
|
|
public virtual void Draw(Layer.DrawMode drawMode) {}
|
|
}
|
|
}
|