C# 클래스 Bug.GameObjects.HitBox

상속: Bug.GameObject
파일 보기 프로젝트 열기: Projectfights/Fight-insect 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
parent Fighter

공개 메소드들

메소드 설명
Draw ( SpriteBatch s ) : void
GetBoundingBox ( ) : Rectangle
GetDamage ( ) : double
GetNoise ( ) : SoundEffect
HitBox ( Fighter parent, SoundEffect noise, List frames ) : System
IsActive ( ) : bool
Trigger ( ) : void
Update ( GameTime t ) : void

메소드 상세

Draw() 공개 메소드

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

GetBoundingBox() 공개 메소드

public GetBoundingBox ( ) : Rectangle
리턴 Microsoft.Xna.Framework.Rectangle

GetDamage() 공개 메소드

public GetDamage ( ) : double
리턴 double

GetNoise() 공개 메소드

public GetNoise ( ) : SoundEffect
리턴 Microsoft.Xna.Framework.Audio.SoundEffect

HitBox() 공개 메소드

public HitBox ( Fighter parent, SoundEffect noise, List frames ) : System
parent Fighter
noise Microsoft.Xna.Framework.Audio.SoundEffect
frames List
리턴 System

IsActive() 공개 메소드

public IsActive ( ) : bool
리턴 bool

Trigger() 공개 메소드

public Trigger ( ) : void
리턴 void

Update() 공개 메소드

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

프로퍼티 상세

parent 공개적으로 프로퍼티

public Fighter,Bug.GameObjects parent
리턴 Fighter