C# 클래스 Platformer.Tiles.Tile

Stores the appearance and collision behavior of a tile.
파일 보기 프로젝트 열기: zmthy/play-dead 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
IsFlooded bool

공개 메소드들

메소드 설명
Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
Tile ( Microsoft.Xna.Framework.Graphics.Sprite sprite, TileCollision collision ) : System

Constructs a new tile.

Update ( GameTime gameTime ) : void

메소드 상세

Draw() 공개 메소드

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

Tile() 공개 메소드

Constructs a new tile.
public Tile ( Microsoft.Xna.Framework.Graphics.Sprite sprite, TileCollision collision ) : System
sprite Microsoft.Xna.Framework.Graphics.Sprite
collision TileCollision
리턴 System

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

프로퍼티 상세

IsFlooded 공개적으로 프로퍼티

public bool IsFlooded
리턴 bool