holds parameters for floor generator  
 More...
#include <FloorGenerator.h>
holds parameters for floor generator 
 
◆ FloorGeneratorParameter() [1/2]
      
        
          | skr::pcg::FloorGeneratorParameter::FloorGeneratorParameter  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ FloorGeneratorParameter() [2/2]
      
        
          | skr::pcg::FloorGeneratorParameter::FloorGeneratorParameter  | 
          ( | 
          int  | 
          noRooms,  | 
        
        
           | 
           | 
          FloorLayoutStrategy  | 
          layoutStategy  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
constrcutor 
- Parameters
 - 
  
    | noRooms | number of rooms to generate  | 
    | layoutStategy | layout strategy used in generation  | 
  
   
 
 
◆ SetDimensions()
      
        
          | void skr::pcg::FloorGeneratorParameter::SetDimensions  | 
          ( | 
          float  | 
          minW,  | 
        
        
           | 
           | 
          float  | 
          maxW,  | 
        
        
           | 
           | 
          float  | 
          minL,  | 
        
        
           | 
           | 
          float  | 
          maxL,  | 
        
        
           | 
           | 
          float  | 
          minH,  | 
        
        
           | 
           | 
          float  | 
          maxH  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
set minimum and maximum dimension of rooms to be generatred 
- Parameters
 - 
  
    | minW | minimum width  | 
    | maxW | maxium width  | 
    | minL | minumum length  | 
    | maxL | maximum length  | 
    | minH | minimum height  | 
    | maxH | maximum height  | 
  
   
 
 
◆ SetGlobalParameter()
      
        
          | void skr::pcg::FloorGeneratorParameter::SetGlobalParameter  | 
          ( | 
          int  | 
          noRooms,  | 
        
        
           | 
           | 
          FloorLayoutStrategy  | 
          layoutstrategy  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
sets global parameters number of rooms and layout strategy 
- Parameters
 - 
  
    | noRooms | number of rooms to generate  | 
    | layoutstrategy | layout strategy used in generation  | 
  
   
 
 
◆ _layoutStrategy
used layout strategy for rooms 
 
 
◆ _maxHeight
      
        
          | float skr::pcg::FloorGeneratorParameter::_maxHeight | 
        
      
 
 
◆ _maxLength
      
        
          | float skr::pcg::FloorGeneratorParameter::_maxLength | 
        
      
 
 
◆ _maxWidth
      
        
          | float skr::pcg::FloorGeneratorParameter::_maxWidth | 
        
      
 
 
◆ _minHeight
      
        
          | float skr::pcg::FloorGeneratorParameter::_minHeight | 
        
      
 
 
◆ _minLength
      
        
          | float skr::pcg::FloorGeneratorParameter::_minLength | 
        
      
 
 
◆ _minWidth
      
        
          | float skr::pcg::FloorGeneratorParameter::_minWidth | 
        
      
 
 
◆ _noRooms
      
        
          | uint8_t skr::pcg::FloorGeneratorParameter::_noRooms | 
        
      
 
number of rooms level consist of and are generated 
 
 
◆ _rng_printSeed
      
        
          | bool skr::pcg::FloorGeneratorParameter::_rng_printSeed | 
        
      
 
specifies if seed will be printed to console and log or not 
 
 
◆ _rng_randomSeed
      
        
          | bool skr::pcg::FloorGeneratorParameter::_rng_randomSeed | 
        
      
 
specifies if a random or fixed seed is used for generation 
 
 
◆ _rng_seed
      
        
          | uint32_t skr::pcg::FloorGeneratorParameter::_rng_seed | 
        
      
 
specified fixed seed. Will be ignored if random seed is used 
 
 
The documentation for this class was generated from the following files: