export function move2d(move_speed: number, rotation_speed: Deg) {
return (game: Game, entity: Entity) => {
game.World.Signature[entity] |= Has.Move2D;
game.World.Move2D[entity] = {
MoveSpeed: move_speed,
RotationSpeed: rotation_speed,
Direction: [0, 0],
Rotation: 0,
};
};
}