Test static mob factory
This commit is contained in:
parent
3e07e20f72
commit
f5ed70a78e
10
source/app.d
10
source/app.d
@ -3,12 +3,8 @@ import std.stdio;
|
||||
import raylib;
|
||||
import entity.mob.mob;
|
||||
import entity.mob.zombie;
|
||||
import entity.mob.mob_factory;
|
||||
|
||||
void main()
|
||||
{
|
||||
Mob[] debugBoi;
|
||||
|
||||
debugBoi ~= new Zombie();
|
||||
|
||||
debugBoi[0].onSpawn();
|
||||
void main() {
|
||||
MobFactory.spawnMob(new Zombie());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user