|
Reference Sheet |
|
Drawing a sprite spriteBatch.Begin(<SpriteBlendMode>); spriteBatch.Draw(<Background>, <Parent Frame>, <Color>); spriteBatch.End(); <Your Code Here> #endif GamePadState <Name> = GamePad.GetState(<Player Index>); <Your Code Here> } KeyboardState <Name> = Keyboard.GetState(); <Your Code Here> Content.Load<Content Type>("<Content Folder Path>"); object.<Postion Property> = new Vector2(X, Y); GraphicsAdapter
.<Adapter Name>.SupportedDisplayModes
Game Profile Members ProfileName.GamerPicture ProfileName.GamerScore ProfileName.GamerZone ProfileName.Motto ProfileName.Region ProfileName.Reputation ProfileName.TitlesPlayed ProfileName.TotalAchievements
Accessing Game Window Properties
Accessing GameWindow Members
WindowTitle.Member = Value; if (PowerStatus.PowerLineStatus == PowerLineStatus.Offline){ // Actions if powerline is offline } else if (PowerStatus.PowerLineStatus == PowerLineStatus.Online) { // Actions if powerline is online } else { // Actions if powerline status is unknown }
|