Better work computer. Now it's a cubicle that you work at. It's debatable whether the cubicle is stealing your soul or clicker is.
This commit is contained in:
parent
ac24f2cc36
commit
f5f16d650f
3 changed files with 7 additions and 5 deletions
8
main.cpp
8
main.cpp
|
@ -77,7 +77,7 @@ struct ClickerUI {
|
|||
"[FoodBowl|_|*%(300,400)clicker|_|_|_]"
|
||||
"[WaterBowl|_|_ |_|_|_]"
|
||||
"[Mood|_|_ |_|_|_]"
|
||||
"[_|_|_ |_|_|_]"
|
||||
"[Money|_|_ |_|_|_]"
|
||||
"[Treat|Food|Water|Pet|Work]");
|
||||
}
|
||||
|
||||
|
@ -160,13 +160,15 @@ struct WorkComputerUI {
|
|||
|
||||
WorkComputerUI() {
|
||||
$gui.position(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT);
|
||||
$gui.layout("[_|*%(300)computer|_|_|_]");
|
||||
$gui.layout("[computer]");
|
||||
}
|
||||
|
||||
void init() {
|
||||
$gui.set<guecs::Background>($gui.MAIN, {$gui.$parser});
|
||||
|
||||
auto computer = $gui.entity("computer");
|
||||
$gui.set<guecs::Sprite>(computer, {"work_computer"});
|
||||
$gui.set<guecs::Label>(computer, {L"Work Computer"});
|
||||
$gui.set<guecs::Sprite>(computer, {"work_computer"});
|
||||
$gui.set<guecs::Clickable>(computer, { [&](auto, auto) {
|
||||
GO_TO_WORK = false;
|
||||
fmt::println("Leaving Work!");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue