// File: /workspace/github_cpp_makefile_star2_O1/malcolmyeh[P]CC3K/display.cc
// Function: Display::printFloor(Floor*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void Display::printFloor(Floor *floor, std::string log){
	std::cout << "\033[2J\033[1;1H";
	for (int i = 0; i < 25; i++) {
		for (int j = 0; j < 79; j++) {
			std::cout << displayGrid[i][j];
		}
		std::cout << std::endl;
	}
	std::cout << "Race: " << floor->player->getRace() << 
	"                                                          Floor "
	<< floor->getLevel() << std::endl;
	std::cout << "Gold: " << floor->player->getGold() << std::endl;
	std::cout << "HP: " << floor->player->getHP() << std::endl;
	std::cout << "Atk: " << floor->player->getAtk() << std::endl;
	std::cout << "Def: " << floor->player->getDef() << std::endl;
	std::cout << "Action: " << log << std::endl;
	
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, -0x30(%rbp)
movq %rsi, -0x38(%rbp)
movq %rdi, %r15
movq 0x1eb05(%rip), %r12     # 0x23fd0
leaq 0x17b32(%rip), %rsi     # 0x1d004
movl $0xa, %edx
movq %r12, %rdi
callq 0x41a0
xorl %ebx, %ebx
leaq -0x58(%rbp), %r13
movq $-0x4f, %r14
movb 0x4f(%r15,%r14), %al
movb %al, -0x58(%rbp)
movl $0x1, %edx
movq %r12, %rdi
movq %r13, %rsi
callq 0x41a0
incq %r14
jne 0x54ec
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x4150
movsbl %al, %esi
movq %r12, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x40e0
incq %rbx
addq $0x4f, %r15
cmpq $0x19, %rbx
jne 0x54e5
movq 0x1ea8b(%rip), %r15     # 0x23fd0
leaq 0x17d00(%rip), %rsi     # 0x1d24c
movl $0x6, %edx
movq %r15, %rdi
callq 0x41a0
movq -0x38(%rbp), %rbx
movq 0xfe0(%rbx), %rsi
movq (%rsi), %rax
leaq -0x58(%rbp), %r12
movq %r12, %rdi
callq *0x28(%rax)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r15, %rdi
callq 0x41a0
movq %rax, %r15
leaq 0x17cc7(%rip), %rsi     # 0x1d253
movl $0x40, %edx
movq %rax, %rdi
callq 0x41a0
movq %rbx, %rdi
callq 0xa37e
movq %r15, %rdi
movl %eax, %esi
callq 0x4240
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x4150
movsbl %al, %esi
movq %r15, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x40e0
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x55ee
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x4170
movq 0x1e9db(%rip), %r15     # 0x23fd0
leaq 0x18575(%rip), %rsi     # 0x1db71
movl $0x6, %edx
movq %r15, %rdi
callq 0x41a0
movq 0xfe0(%rbx), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
movq %r15, %rdi
movl %eax, %esi
callq 0x4240
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x4150
movsbl %al, %esi
movq %r12, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x40e0
leaq 0x18643(%rip), %rsi     # 0x1dc94
movl $0x4, %edx
movq %r15, %rdi
callq 0x41a0
movq 0xfe0(%rbx), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movq %r15, %rdi
movl %eax, %esi
callq 0x4240
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x4150
movsbl %al, %esi
movq %r12, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x40e0
leaq 0x183e9(%rip), %rsi     # 0x1da8f
movl $0x5, %edx
movq %r15, %rdi
callq 0x41a0
movq 0xfe0(%rbx), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
movq %r15, %rdi
movl %eax, %esi
callq 0x4240
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x4150
movsbl %al, %esi
movq %r12, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x40e0
leaq 0x183fc(%rip), %rsi     # 0x1daf7
movl $0x5, %edx
movq %r15, %rdi
callq 0x41a0
movq 0xfe0(%rbx), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq %r15, %rdi
movl %eax, %esi
callq 0x4240
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x4150
movsbl %al, %esi
movq %r14, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x40e0
leaq 0x17b44(%rip), %rsi     # 0x1d294
movl $0x8, %edx
movq %r15, %rdi
callq 0x41a0
movq -0x30(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r15, %rdi
callq 0x41a0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4150
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x40e0
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x57c5
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x4170
movq %rbx, %rdi
callq 0x4250
nop