2023-10-17 05:35:19 -05:00
|
|
|
#pragma once
|
|
|
|
#include "Crawler.h"
|
|
|
|
#include "DEFINES.h"
|
|
|
|
#include "Menu.h"
|
2023-10-20 22:49:12 -05:00
|
|
|
#include "MenuLabel.h"
|
2023-10-17 05:35:19 -05:00
|
|
|
|
|
|
|
INCLUDE_game
|
|
|
|
typedef Attribute A;
|
|
|
|
|
2023-10-20 22:49:12 -05:00
|
|
|
void Menu::InitializeClassInfoWindow(){
|
|
|
|
Menu*classInfoWindow=CreateMenu(CLASS_INFO,CENTERED,game->GetScreenSize()-vi2d{64,64});
|
2023-10-17 05:35:19 -05:00
|
|
|
|
2023-10-20 22:49:12 -05:00
|
|
|
MenuLabel*label=new MenuLabel(CLASS_INFO,{{classInfoWindow->pos.x,classInfoWindow->pos.y+8},{classInfoWindow->size.x,16}},"Warrior",2,true,true);
|
|
|
|
|
|
|
|
classInfoWindow->AddComponent("Class Name",label);
|
2023-10-17 05:35:19 -05:00
|
|
|
}
|