C# Class level_generator, 1gam-dungeon

Inheritance: MonoBehaviour
Afficher le fichier Open project: OneGameAMonth/1gam-dungeon

Méthodes publiques

Свойство Type Description
door_prefab GameObject
key_prefab GameObject
level_root GameObject
level_size int
player_prefab GameObject
random_spawns GameObject[]
teleporter_prefab GameObject
tile_types TileTypeCollection[]

Méthodes publiques

Méthode Description
Start ( ) : void
Update ( ) : void
_connected_step ( int i, int end_index ) : void
_create_way ( Room, r1, Room, r2 ) : void

Private Methods

Méthode Description
_connected ( int start_index, int end_index ) : bool
_select_tile_prefab ( GameObject prefab_type_array, float p ) : GameObject
index ( int x, int y ) : int
index ( int x, int y, int h ) : int

Method Details

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

_connected_step() public méthode

public _connected_step ( int i, int end_index ) : void
i int
end_index int
Résultat void

_create_way() public méthode

public _create_way ( Room, r1, Room, r2 ) : void
r1 Room,
r2 Room,
Résultat void

Property Details

door_prefab public_oe property

public GameObject door_prefab
Résultat GameObject

key_prefab public_oe property

public GameObject key_prefab
Résultat GameObject

level_root public_oe property

public GameObject level_root
Résultat GameObject

level_size public_oe property

public int level_size
Résultat int

player_prefab public_oe property

public GameObject player_prefab
Résultat GameObject

random_spawns public_oe property

public GameObject[] random_spawns
Résultat GameObject[]

teleporter_prefab public_oe property

public GameObject teleporter_prefab
Résultat GameObject

tile_types public_oe property

public TileTypeCollection[] tile_types
Résultat TileTypeCollection[]