renderer initializer
parent
227aae9a1a
commit
1d34defbfb
|
@ -2,5 +2,10 @@
|
||||||
|
|
||||||
public abstract class Renderer : EntityComponentReader
|
public abstract class Renderer : EntityComponentReader
|
||||||
{
|
{
|
||||||
|
public Renderer(World world)
|
||||||
|
{
|
||||||
|
world.AddRenderer(this);
|
||||||
|
}
|
||||||
|
|
||||||
public abstract void Draw(TimeSpan delta);
|
public abstract void Draw(TimeSpan delta);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue