C# Class Swordening.StationaryObject

Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
ファイルを表示 Open project: ArghyV/Peliohjelmointi-s2011 Class Usage Examples

Public Methods

Method Description
NewStationaryID ( ) : string
SetPosition ( int x, int y ) : void
StationaryObject ( Microsoft.Xna.Framework.Game game ) : System

Protected Methods

Method Description
GetLength ( Size size ) : int
GetWidth ( Size size ) : int

Method Details

GetLength() protected static method

protected static GetLength ( Size size ) : int
size Size
return int

GetWidth() protected static method

protected static GetWidth ( Size size ) : int
size Size
return int

NewStationaryID() public static method

public static NewStationaryID ( ) : string
return string

SetPosition() public method

public SetPosition ( int x, int y ) : void
x int
y int
return void

StationaryObject() public method

public StationaryObject ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
return System