GameGraphics.GraphicsObject.GetAngle C# (CSharp) 메소드

GetAngle() 공개 메소드

Returns the given angle of the object
public GetAngle ( ) : float
리턴 float
        public float GetAngle()
        {
            return this.angle;
        }

Usage Example

예제 #1
0
 /**
  * Renders the given GraphicsObject
  *
  * @param spriteBatch Contains graphics contexts for rendering on the game screen
  * @param obj The GraphicsObject that is to be rendered
  */
 public void Render(SpriteBatch spriteBatch, GraphicsObject obj)
 {
     this.Render(spriteBatch, (int)obj.GetX(), (int)obj.GetY(), (int)obj.GetRadius(), obj.GetColor(), (int)obj.GetAngle(), 0.0f, 0, 0);
 }
All Usage Examples Of GameGraphics.GraphicsObject::GetAngle