Missile
Public member functions
// Construct a new Missile object
Missile(Room &room, Missile::Type type, u_int id, short x, short y);
// Construct a new Missile object
Missile(Room &room, Missile::Type type, u_int id, const std::pair<short, short> &pos);
// Refresh the missile (move and send the new position to the clients)
virtual void refresh();Member functions documentation
Constructor
Missile(Room &room, Missile::Type type, u_int id, short x, short y);
Missile(Room &room, Missile::Type type, u_int id, const std::pair<short, short> &pos);