public static int Manhattan((int X, int Y, int Z) position) => Manhattan(position.X, position.Y, position.Z);
worldObject.Position = new Position(position.X, position.Y, position.Z);
position: new Vector2(position.X, position.Y + topOffset + checkboxOffset),
get => new Point(position.X, position.Y); set => position = new Point(value.X, value.Y);
positions.TryAdd(position_pool.AllocPosition(position.X, position.Y), 0);
BodyHandle = simulation.Bodies.Add(BodyDescription.CreateKinematic(new RigidPose(new Vector3(position.X, height, position.Y), Quaternion.CreateFromAxisAngle(Vector3.UnitY, angle)), new CollidableDescription(shape, 0.5f), new BodyActivityDescription(-1)));
Direction.East when position.Y < colonyWidth - 1 => new Position(position.X, position.Y + 1),
Direction.West when position.Y > 0 => new Position(position.X, position.Y - 1),
public Point Position { get => new Point(position.X, position.Y); set => position = new Point(value.X, value.Y); }
positions.Add(position_pool.AllocPosition(position.X, position.Y));
return(new Position(position.X, position.Y));
texture, new RectangleF(position.X, position.Y, 1f, 1f), true, s_nullRectangle,
public static void OnMouseMove(in POINT position) => EventManager.Push(new MouseMovedEvent(position.X, position.Y));