(WIP) Move ICombatant functions around a bit

This commit is contained in:
gsemaj
2022-04-11 16:52:35 -04:00
parent 5ab0112298
commit ed866fbee4
3 changed files with 28 additions and 21 deletions

View File

@@ -103,19 +103,6 @@ sPCAppearanceData Player::getAppearanceData() {
return data;
}
// player combat methods; not sure if this is the right place to put them
void Player::takeDamage(EntityRef src, int amt) {
// stubbed
}
void Player::heal(EntityRef src, int amt) {
// stubbed
}
bool Player::isAlive() {
return HP > 0;
}
// TODO: this is less effiecient than it was, because of memset()
void Player::enterIntoViewOf(CNSocket *sock) {
INITSTRUCT(sP_FE2CL_PC_NEW, pkt);