C# 클래스 SmashBros.Models.Map

파일 보기 프로젝트 열기: Grutn/TDT4240-X2 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DropZone Box
backgroundMusic string
bgImage string
boxes List
floatingBoxes List
mapImage string
mapPosition Vector2
name string
size Box
startingPosition List
thumbImage string
zoomBox Box

공개 메소드들

메소드 설명
AddBox ( float x, float y, float widht, float height, float rotation ) : void
AddBoxes ( ) : void
AddFloatBox ( float x, float y, float widht, float rotation ) : void
AddStartPos ( float x, float y ) : void
Map ( ) : System

메소드 상세

AddBox() 공개 메소드

public AddBox ( float x, float y, float widht, float height, float rotation ) : void
x float
y float
widht float
height float
rotation float
리턴 void

AddBoxes() 공개 메소드

public AddBoxes ( ) : void
리턴 void

AddFloatBox() 공개 메소드

public AddFloatBox ( float x, float y, float widht, float rotation ) : void
x float
y float
widht float
rotation float
리턴 void

AddStartPos() 공개 메소드

public AddStartPos ( float x, float y ) : void
x float
y float
리턴 void

Map() 공개 메소드

public Map ( ) : System
리턴 System

프로퍼티 상세

DropZone 공개적으로 프로퍼티

public Box DropZone
리턴 Box

backgroundMusic 공개적으로 프로퍼티

The assetname of the maps backgroundMusic.
public string backgroundMusic
리턴 string

bgImage 공개적으로 프로퍼티

Source name for image used in background during gameplay
public string bgImage
리턴 string

boxes 공개적으로 프로퍼티

A list of rectangles that have collisiondetection in all directions.
public List boxes
리턴 List

floatingBoxes 공개적으로 프로퍼티

A list of rectangles that only have upwards collisiondetection and only if the player is not holding down "down".
public List floatingBoxes
리턴 List

mapImage 공개적으로 프로퍼티

Source for the real map
public string mapImage
리턴 string

mapPosition 공개적으로 프로퍼티

Of much the map is offset from the
public Vector2 mapPosition
리턴 Vector2

name 공개적으로 프로퍼티

Name of the map
public string name
리턴 string

size 공개적으로 프로퍼티

How large the map is, edges is placed at the edges of this size X and y becomes the offset of the rectangle
public Box size
리턴 Box

startingPosition 공개적으로 프로퍼티

List with four positions that says where the players can start
public List startingPosition
리턴 List

thumbImage 공개적으로 프로퍼티

Source name of thumb Image, used for map selection screen
public string thumbImage
리턴 string

zoomBox 공개적으로 프로퍼티

The zooming bounds of the map
public Box zoomBox
리턴 Box