Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
GenRoomMonsterHouse.cs
Go to the documentation of this file.
2{
3 public override void OnPopulate()
4 {
5 for (int i = 0; i < Size / 5 + EClass.rnd(Size / 4 + 1); i++)
6 {
7 SetRandomPoint(delegate(Point p)
8 {
9 SpawnMob(p);
10 });
11 }
12 }
13}
Definition: EClass.cs:5
static int rnd(int a)
Definition: EClass.cs:50
int Size
Definition: GenBounds.cs:11
override void OnPopulate()
void SetRandomPoint(Action< Point > action)
Definition: GenRoom.cs:202
void SpawnMob(Point p)
Definition: GenRoom.cs:105
Definition: Point.cs:9