예제 #1
0
        public static CollisionBox Load(BinaryReader BR, GraphicsDevice g, Matrix Projection)
        {
            CollisionBox NewCollisionBox = new CollisionBox(BR, g, Projection);

            return(NewCollisionBox);
        }
예제 #2
0
 protected void TeleportRelative(Vector3 Movement)
 {
     Position += Movement;
     CollisionBox.Offset(Movement.X, Movement.Y, Movement.Z);
 }