aboutsummaryrefslogtreecommitdiff
path: root/ResourceInformation.cpp
blob: 57ff2d0ee976c8638673c3fa4d2b955e3d45ea69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "ResourceInformation.h"

#include "Sdk.h"
#include "Renderer.h"

#include "Engine.h"


void ResourceInformation::OnMenuPlayerTreenode(Player* player, int playerIndex)
{
	ImGui::Text("Wood: %.f", player->pResources->wood);
	ImGui::Text("Food: %.f", player->pResources->food);
	ImGui::Text("Gold: %.f", player->pResources->gold);
	ImGui::Text("Stone: %.f", player->pResources->stone);
	ImGui::Text("PopSpaceLeft: %.f/%.f", player->pResources->popSpaceLeft);
}