Reorganizing

This commit is contained in:
Matt Thorson
2020-05-05 18:51:27 -07:00
parent 9374086e97
commit 409a82d6b8
9 changed files with 85 additions and 24 deletions

View File

@ -4,17 +4,12 @@ namespace Strawberry
{
public class Solid : Geometry
{
public this(int x, int y, Rect hitbox)
: base(x, y)
public this(Point position, Rect hitbox)
: base(position)
{
Hitbox = hitbox;
}
public override void Draw()
{
DrawHitbox(.(255, 255, 255, 255));
}
public override List<Actor> GetRiders(List<Actor> into)
{
for (var a in Scene.All<Actor>(scope List<Actor>))
@ -38,5 +33,10 @@ namespace Strawberry
}
}
public override void Draw()
{
DrawHitbox(.(255, 255, 255, 255));
}
}
}