C# 클래스 CannonGame.SolidObstacle

상속: GameObject
파일 보기 프로젝트 열기: obcilion/xnaKanonSpill 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
obstacle Microsoft.Xna.Framework.Rectangle

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch ) : void
SolidObstacle ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, int width, int height ) : System
SolidObstacle ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, int height, int width, float velocity, char axis, int distance ) : System
Update ( ) : void

메소드 상세

Draw() 공개 메소드

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

SolidObstacle() 공개 메소드

public SolidObstacle ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, int width, int height ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
width int
height int
리턴 System

SolidObstacle() 공개 메소드

public SolidObstacle ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, int height, int width, float velocity, char axis, int distance ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
height int
width int
velocity float
axis char
distance int
리턴 System

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

obstacle 공개적으로 프로퍼티

public Rectangle,Microsoft.Xna.Framework obstacle
리턴 Microsoft.Xna.Framework.Rectangle