C# 클래스 Paddle, XNA

상속: MonoBehaviour
파일 보기 프로젝트 열기: hatRiot/XNA 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
boundingBox BoundingBox
padSpeed int
padSpeed2 int
position Vector2
screenSize Vector2
size Vector2
texture Texture2D
velocity Vector2

공개 메소드들

메소드 설명
Control ( ) : void
Paddle ( Texture2D t, Vector2 p, Vector2 s, int screenWidth, int screenHeight, BoundingBox b ) : System
increasePad ( ) : void
updateBoundingBox ( ) : void

메소드 상세

Control() 공개 메소드

public Control ( ) : void
리턴 void

Paddle() 공개 메소드

public Paddle ( Texture2D t, Vector2 p, Vector2 s, int screenWidth, int screenHeight, BoundingBox b ) : System
t UnityEngine.Texture2D
p Vector2
s Vector2
screenWidth int
screenHeight int
b BoundingBox
리턴 System

increasePad() 공개 메소드

public increasePad ( ) : void
리턴 void

updateBoundingBox() 공개 메소드

public updateBoundingBox ( ) : void
리턴 void

프로퍼티 상세

boundingBox 공개적으로 프로퍼티

public BoundingBox boundingBox
리턴 BoundingBox

padSpeed 공개적으로 프로퍼티

public int padSpeed
리턴 int

padSpeed2 공개적으로 프로퍼티

public int padSpeed2
리턴 int

position 공개적으로 프로퍼티

public Vector2 position
리턴 Vector2

screenSize 공개적으로 프로퍼티

public Vector2 screenSize
리턴 Vector2

size 공개적으로 프로퍼티

public Vector2 size
리턴 Vector2

texture 공개적으로 프로퍼티

public Texture2D texture
리턴 Texture2D

velocity 공개적으로 프로퍼티

public Vector2 velocity
리턴 Vector2