[ui] ui dla Piotrowej implementacji
This commit is contained in:
parent
c9bba44768
commit
f8b8e37a48
File diff suppressed because one or more lines are too long
@ -30,12 +30,20 @@ public class CaveGenerator : MonoBehaviour
|
||||
GenerateMap();
|
||||
}
|
||||
|
||||
void Update()
|
||||
public void GenerateDungeon()
|
||||
{
|
||||
if (Input.GetMouseButtonDown(0))
|
||||
{
|
||||
GenerateMap();
|
||||
}
|
||||
seed = Time.realtimeSinceStartup.ToString();
|
||||
cave = false;
|
||||
randomFillPercent = 75;
|
||||
GenerateMap();
|
||||
}
|
||||
|
||||
public void GenerateCave()
|
||||
{
|
||||
seed = Time.realtimeSinceStartup.ToString();
|
||||
cave = true;
|
||||
randomFillPercent = 50;
|
||||
GenerateMap();
|
||||
}
|
||||
|
||||
public void GenerateMap()
|
||||
|
Loading…
Reference in New Issue
Block a user