Theater-ECS/src/Example/MoverSystem.bf

13 lines
231 B
Beef
Raw Normal View History

namespace Theater_ECS.Example;
class MoverSystem : System
{
[SystemMethod("MoveItems", typeof(Velocity), typeof(Position))]
public void MoveItems(ref Velocity v,ref Position p)
{
//p.x = v.x + p.x;
//p.y = v.y = p.y;
}
}