12 lines
209 B
C++
12 lines
209 B
C++
#include "player.hpp"
|
|
|
|
Player::Player(int ID, int ch, std::string h, std::string a) {
|
|
playerID = ID;
|
|
channel = ch;
|
|
handle = h;
|
|
avatar = a;
|
|
}
|
|
|
|
void Player::Update(int delta) {
|
|
position += motion * delta;
|
|
} |