Please enable JavaScript.
Coggle requires JavaScript to display documents.
Class: Dungeon - Coggle Diagram
Class: Dungeon
Fields
str _name
int _numRooms
str _treasure
bool _haveFinished
Constructor
string Treasure
string Name
integer NumberOfRooms
Properties
write-only
read-write
read-only
Methods
GenerateRoom()
OutputTreasure()
Loops
While
For
Creating a new object:
Dungeon("Mystery Caves", 12, "Crown Of Light")
Object: Mystery Caves