mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2025-05-13 10:36:06 +08:00
21 lines
306 B
Brainfuck
21 lines
306 B
Brainfuck
using System.Collections;
|
|
|
|
namespace Strawberry.Sample
|
|
{
|
|
public class Solid : Component, IHasHitbox
|
|
{
|
|
public Hitbox Hitbox { get; private set; }
|
|
|
|
private Vector remainder;
|
|
|
|
public Vector ExactPosition => Entity.Position + remainder;
|
|
|
|
public this(Hitbox hitbox)
|
|
{
|
|
Hitbox = hitbox;
|
|
}
|
|
|
|
|
|
}
|
|
}
|