C# 클래스 MrGravity.Game_Objects.Static_Objects.Wall

상속: StaticObject
파일 보기 프로젝트 열기: DizWARE/Mr-Gravity

공개 메소드들

메소드 설명
Draw ( SpriteBatch canvas, GameTime gametime ) : void

Draws the object to the screen

Load ( Microsoft.Xna.Framework.Content.ContentManager content, string name ) : void

This will not do anything. overrides to avoid trying to load this class

NearestWallPosition ( Vector2 position ) : string>.KeyValuePair
Wall ( float friction, List walls ) : System.Collections.Generic

Initializes a new instance of the Wall class.

메소드 상세

Draw() 공개 메소드

Draws the object to the screen
public Draw ( SpriteBatch canvas, GameTime gametime ) : void
canvas Microsoft.Xna.Framework.Graphics.SpriteBatch Canvas that the game is being drawn on
gametime Microsoft.Xna.Framework.GameTime The current gametime
리턴 void

Load() 공개 메소드

This will not do anything. overrides to avoid trying to load this class
public Load ( Microsoft.Xna.Framework.Content.ContentManager content, string name ) : void
content Microsoft.Xna.Framework.Content.ContentManager Content manager
name string Name of the object
리턴 void

NearestWallPosition() 공개 메소드

public NearestWallPosition ( Vector2 position ) : string>.KeyValuePair
position Microsoft.Xna.Framework.Vector2
리턴 string>.KeyValuePair

Wall() 공개 메소드

Initializes a new instance of the Wall class.
public Wall ( float friction, List walls ) : System.Collections.Generic
friction float The friction.
walls List
리턴 System.Collections.Generic