C# 클래스 Project290.Screens.Shared.HypercubeDisplay

Used for displaying hypercubes.
파일 보기 프로젝트 열기: scastle/Solitude 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DisplayRectangle Microsoft.Xna.Framework.Rectangle

공개 메소드들

메소드 설명
Draw ( ) : void

Draws this instance.

HypercubeDisplay ( Rectangle displayRectangle, int hypercubeCount, Random random, float layerDepth ) : System

Initializes a new instance of the HypercubeDisplay class.

Set ( float x, float y ) : void

Sets the rectangle to the x, y specified.

SetLayerDepth ( float layerDepth ) : void

Sets the layer depth.

Update ( ) : void

Updates this instance.

메소드 상세

Draw() 공개 메소드

Draws this instance.
public Draw ( ) : void
리턴 void

HypercubeDisplay() 공개 메소드

Initializes a new instance of the HypercubeDisplay class.
public HypercubeDisplay ( Rectangle displayRectangle, int hypercubeCount, Random random, float layerDepth ) : System
displayRectangle Microsoft.Xna.Framework.Rectangle The display rectangle.
hypercubeCount int The number of hypercubes.
random System.Random The PRNG.
layerDepth float The layer depth.
리턴 System

Set() 공개 메소드

Sets the rectangle to the x, y specified.
public Set ( float x, float y ) : void
x float The x.
y float The y.
리턴 void

SetLayerDepth() 공개 메소드

Sets the layer depth.
public SetLayerDepth ( float layerDepth ) : void
layerDepth float The layer depth.
리턴 void

Update() 공개 메소드

Updates this instance.
public Update ( ) : void
리턴 void

프로퍼티 상세

DisplayRectangle 공개적으로 프로퍼티

The bounding rectangle for the hypercubes and background.
public Rectangle,Microsoft.Xna.Framework DisplayRectangle
리턴 Microsoft.Xna.Framework.Rectangle