C# Class Procedural.LevelGenerator

Inheritance: UnityEngine.MonoBehaviour
Mostra file Open project: SneakyRedSnake/rogue-shield

Public Properties

Property Type Description
endPosition Vector2
levelGenerationStrategy LevelGenerationStrategy
levelHeight int
levelWidth int
maximumDistance int
minimumDistance int
startingPosition Vector2

Public Methods

Method Description
Start ( ) : void
instanciateWall ( Vector2 position ) : void

Private Methods

Method Description
generatePlatform ( int width, Vector2 position ) : void
generateRoom ( Room room ) : void
generateSquare ( int width, int height, Vector2 position ) : void

Method Details

Start() public method

public Start ( ) : void
return void

instanciateWall() public method

public instanciateWall ( Vector2 position ) : void
position Vector2
return void

Property Details

endPosition public_oe property

public Vector2 endPosition
return Vector2

levelGenerationStrategy public_oe property

public LevelGenerationStrategy levelGenerationStrategy
return LevelGenerationStrategy

levelHeight public_oe property

public int levelHeight
return int

levelWidth public_oe property

public int levelWidth
return int

maximumDistance public_oe property

public int maximumDistance
return int

minimumDistance public_oe property

public int minimumDistance
return int

startingPosition public_oe property

public Vector2 startingPosition
return Vector2