コード例 #1
0
 public static int Manhattan((int X, int Y, int Z) position) => Manhattan(position.X, position.Y, position.Z);
コード例 #2
0
 worldObject.Position = new Position(position.X, position.Y, position.Z);
コード例 #3
0
 position: new Vector2(position.X, position.Y + topOffset + checkboxOffset),
 get => new Point(position.X, position.Y); set => position = new Point(value.X, value.Y);
コード例 #5
0
 positions.TryAdd(position_pool.AllocPosition(position.X, position.Y), 0);
コード例 #6
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)));
コード例 #7
0
 Direction.East when position.Y < colonyWidth - 1 => new Position(position.X, position.Y + 1),
コード例 #8
0
 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); }
コード例 #10
0
 positions.Add(position_pool.AllocPosition(position.X, position.Y));
コード例 #11
0
 return(new Position(position.X, position.Y));
コード例 #12
0
texture, new RectangleF(position.X, position.Y, 1f, 1f), true, s_nullRectangle,
コード例 #13
0
ファイル: WindowEventHandler.cs プロジェクト: Golle/Titan
 public static void OnMouseMove(in POINT position) => EventManager.Push(new MouseMovedEvent(position.X, position.Y));