aboutsummaryrefslogtreecommitdiff
path: root/game/prefab/ZapperPoolSubScene.cpp
blob: 578688a56b3d3731741e703f73145b60b3cbfd4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "ZapperPoolSubScene.h"

using namespace crepe;
using namespace std;

ZapperPoolSubScene::ZapperPoolSubScene(Scene & scene)
	: controller { scene.new_object("controller") } {
		for (size_t i = 0; i < this->POOL_SIZE; i++)
			zappers.emplace_back(scene.new_object("zapper"));

	
}