C# Class RoomManager, Endure

Inheritance: MonoBehaviour
Afficher le fichier Open project: Endure-Game/Endure Class Usage Examples

Méthodes publiques

Свойство Type Description
biomeNumber int
blockingCount Count,
blocks GameObject[]
buildingTiles GameObject[]
chestCount Count,
columns int
end int[]
enemySpawnInterval int
outerWallTiles GameObject[]
regions List
roomSide int
rows int
startScreen bool
tileMap ].Tile[

Méthodes publiques

Méthode Description
Awake ( ) : void
GetRoom ( int x, int y ) : GameObject
LayoutObjectAtRandom ( GameObject tileArray, int minimum, int maximum ) : void
PlaceItem ( GameObject sprite, int x, int y ) : void
PlayerIsNear ( int x, int y ) : bool
SetGroundTile ( GameObject sprite, int x, int y ) : void
SetupRooms ( ) : void
TileMapGeneration ( ) : void
Update ( ) : void
checkForBlock ( Vector3 tile ) : bool
placePath ( float current, float next, float moveX, float moveY ) : void

Private Methods

Méthode Description
InitializeList ( float gridX, float gridY ) : List
RoomSetup ( int gridX, int gridY ) : GameObject
getBiome ( int x, int y ) : void

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

GetRoom() public méthode

public GetRoom ( int x, int y ) : GameObject
x int
y int
Résultat GameObject

LayoutObjectAtRandom() public méthode

public LayoutObjectAtRandom ( GameObject tileArray, int minimum, int maximum ) : void
tileArray GameObject
minimum int
maximum int
Résultat void

PlaceItem() public méthode

public PlaceItem ( GameObject sprite, int x, int y ) : void
sprite GameObject
x int
y int
Résultat void

PlayerIsNear() public méthode

public PlayerIsNear ( int x, int y ) : bool
x int
y int
Résultat bool

SetGroundTile() public méthode

public SetGroundTile ( GameObject sprite, int x, int y ) : void
sprite GameObject
x int
y int
Résultat void

SetupRooms() public méthode

public SetupRooms ( ) : void
Résultat void

TileMapGeneration() public méthode

public TileMapGeneration ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

checkForBlock() public méthode

public checkForBlock ( Vector3 tile ) : bool
tile Vector3
Résultat bool

placePath() public méthode

public placePath ( float current, float next, float moveX, float moveY ) : void
current float
next float
moveX float
moveY float
Résultat void

Property Details

biomeNumber public_oe property

public int biomeNumber
Résultat int

blockingCount public_oe property

public Count, blockingCount
Résultat Count,

blocks public_oe property

public GameObject[] blocks
Résultat GameObject[]

buildingTiles public_oe property

public GameObject[] buildingTiles
Résultat GameObject[]

chestCount public_oe property

public Count, chestCount
Résultat Count,

columns public_oe property

public int columns
Résultat int

end public_oe property

public int[] end
Résultat int[]

enemySpawnInterval public_oe property

public int enemySpawnInterval
Résultat int

outerWallTiles public_oe property

public GameObject[] outerWallTiles
Résultat GameObject[]

regions public_oe property

public List regions
Résultat List

roomSide public_oe property

public int roomSide
Résultat int

rows public_oe property

public int rows
Résultat int

startScreen public_oe property

public bool startScreen
Résultat bool

tileMap public_oe property

public Tile[,] tileMap
Résultat ].Tile[