C# Class Pokemon3D.Common.Extensions.PointExtension

Show file Open project: nilllzz/Pokemon3D

Public Methods

Method Description
Down ( this p ) : Point
Left ( this p ) : Point
Offset ( this p, int dx, int dy ) : Point
Right ( this p ) : Point
ToVector2 ( this p ) : Vector2
Up ( this p ) : Point

Method Details

Down() public static method

public static Down ( this p ) : Point
p this
return Microsoft.Xna.Framework.Point

Left() public static method

public static Left ( this p ) : Point
p this
return Microsoft.Xna.Framework.Point

Offset() public static method

public static Offset ( this p, int dx, int dy ) : Point
p this
dx int
dy int
return Microsoft.Xna.Framework.Point

Right() public static method

public static Right ( this p ) : Point
p this
return Microsoft.Xna.Framework.Point

ToVector2() public static method

public static ToVector2 ( this p ) : Vector2
p this
return Microsoft.Xna.Framework.Vector2

Up() public static method

public static Up ( this p ) : Point
p this
return Microsoft.Xna.Framework.Point