C# 클래스 OpenEmpires.Entities.EntityBase

상속: Drawable
파일 보기 프로젝트 열기: HandsomeMatt/OpenEmpires 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Health byte
Position Vector2f
WorldId short

보호된 프로퍼티들

프로퍼티 타입 설명
entityToUse EntityBase

공개 메소드들

메소드 설명
Draw ( RenderTarget rt, RenderStates states ) : void
EntityBase ( ) : System
ParseCustomStream ( BinaryReader reader ) : void
ParseStream ( MemoryStream memory ) : void
ToStream ( ) : MemoryStream
Update ( ) : void

보호된 메소드들

메소드 설명
GetCustomData ( ) : MemoryStream

메소드 상세

Draw() 공개 메소드

public Draw ( RenderTarget rt, RenderStates states ) : void
rt RenderTarget
states SFML.Graphics.RenderStates
리턴 void

EntityBase() 공개 메소드

public EntityBase ( ) : System
리턴 System

GetCustomData() 보호된 추상적인 메소드

protected abstract GetCustomData ( ) : MemoryStream
리턴 System.IO.MemoryStream

ParseCustomStream() 공개 추상적인 메소드

public abstract ParseCustomStream ( BinaryReader reader ) : void
reader System.IO.BinaryReader
리턴 void

ParseStream() 공개 메소드

public ParseStream ( MemoryStream memory ) : void
memory System.IO.MemoryStream
리턴 void

ToStream() 공개 메소드

public ToStream ( ) : MemoryStream
리턴 System.IO.MemoryStream

Update() 공개 추상적인 메소드

public abstract Update ( ) : void
리턴 void

프로퍼티 상세

Health 공개적으로 프로퍼티

public byte Health
리턴 byte

Position 공개적으로 프로퍼티

public Vector2f Position
리턴 Vector2f

WorldId 공개적으로 프로퍼티

public short WorldId
리턴 short

entityToUse 보호되어 있는 프로퍼티

protected EntityBase,OpenEmpires.Entities entityToUse
리턴 EntityBase