Class Info Screen completed.
This commit is contained in:
@@ -589,4 +589,13 @@ void Menu::AddInventoryListener(MenuComponent*component,ITCategory category){
|
||||
|
||||
vf2d Menu::center(){
|
||||
return size/2;
|
||||
}
|
||||
|
||||
void Menu::CloseMenu(){
|
||||
if(stack.size()>0){
|
||||
stack.pop_back();
|
||||
}else{
|
||||
std::cout<<"WARNING! Trying to close out no menu?? Why are we doing this?"<<std::endl;
|
||||
throw;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user