C# 클래스 CastleEscape.NPE

Represents a non-player entity. Author: Dennis Honeyman
파일 보기 프로젝트 열기: Daminvar/CastleEscape 1 사용 예제들

공개 메소드들

메소드 설명
DrawBase ( SpriteBatch spriteBatch, ScriptableMap map, int x, int y ) : void
DrawTop ( SpriteBatch spriteBatch, ScriptableMap map, int x, int y ) : void
Interact ( Player player, ScriptableMap map ) : void
NPE ( Microsoft.Xna.Framework.Game game ) : System
SetInteractFunc ( Action func ) : void
SetPosition ( int x, int y ) : void
SetTexture ( string textureName ) : void

비공개 메소드들

메소드 설명
interact ( object player ) : void

메소드 상세

DrawBase() 공개 메소드

public DrawBase ( SpriteBatch spriteBatch, ScriptableMap map, int x, int y ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
map ScriptableMap
x int
y int
리턴 void

DrawTop() 공개 메소드

public DrawTop ( SpriteBatch spriteBatch, ScriptableMap map, int x, int y ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
map ScriptableMap
x int
y int
리턴 void

Interact() 공개 메소드

public Interact ( Player player, ScriptableMap map ) : void
player Player
map ScriptableMap
리턴 void

NPE() 공개 메소드

public NPE ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
리턴 System

SetInteractFunc() 공개 메소드

public SetInteractFunc ( Action func ) : void
func Action
리턴 void

SetPosition() 공개 메소드

public SetPosition ( int x, int y ) : void
x int
y int
리턴 void

SetTexture() 공개 메소드

public SetTexture ( string textureName ) : void
textureName string
리턴 void