random.nextInt(this.displayMode.getWidth()),
random.nextInt(this.displayMode.getHeight()));
Image player = this.resourceCache.getImage("replaceme_hardcoded_planet");
this.bus.broadcast(new ComponentAddition(new Sprite(bus, playerEntityId, player)));
this.bus.broadcast(new ComponentAddition(new Physics(bus, playerEntityId, position, 0, player.getWidth(null), player.getHeight(null))));
this.bus.broadcast(new ComponentAddition(new ProjectileLauncher(bus, playerEntityId, this.resourceCache)));
this.bus.broadcast(new ComponentAddition(new HeadsUpDisplay(bus, hudEntityId, playerEntityId, playerNumber)));
//TODO: hack for testing. input will be assigned turn-based.
if(playerNumber == 1) {
this.bus.broadcast(new ComponentAddition(new PlayerInput(bus, playerEntityId)));
}
bus.send(new PlayerStatsReport(playerEntityId, name, STARTING_HEALTH), hudEntityId);
}