C# 클래스 Descent.GUI.Screens.AttackElement

Displays the attack state with the dice used (and how they landed when rolled), the target monster or hero and the possible surge abilities that can be used to improve the result.
상속: GUIElement
파일 보기 프로젝트 열기: nezbo/Descent 1 사용 예제들

공개 메소드들

메소드 설명
AttackElement ( Microsoft.Xna.Framework.Game game, Attack attack, int x, int y, int width, int height ) : System.Collections.Generic

Creates a new AttackElement for the given parameters.

Draw ( SpriteBatch draw ) : void

메소드 상세

AttackElement() 공개 메소드

Creates a new AttackElement for the given parameters.
public AttackElement ( Microsoft.Xna.Framework.Game game, Attack attack, int x, int y, int width, int height ) : System.Collections.Generic
game Microsoft.Xna.Framework.Game The current Game object.
attack Descent.Model.Event.Attack The Attack instance to visualize.
x int The top-left x-coordinate to start the attack box.
y int The top-left y-coordinate to start the attack box.
width int The width of the AttackElement.
height int The height of the AttackElement.
리턴 System.Collections.Generic

Draw() 공개 메소드

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