carsonlloyd / Clueue2020

GNU General Public License v3.0
0 stars 0 forks source link

Weapons exist #9

Closed carsonlloyd closed 4 years ago

carsonlloyd commented 4 years ago

9

AmmonHepworth commented 4 years ago

Weapons should be implemented. It is not strictly necessary to have them show on the game map but they must be functional and randomly assigned

rwalker675 commented 4 years ago

Assign to Robert.
Can't be in hallways. Move weapon to room. Check this. Weapons enumeration. Similar to RoomType. This would be a WeaponType. Class that is an enumeration. Rooms will know what weapons are in the room.

carsonlloyd commented 4 years ago

Is this done?

AmmonHepworth commented 4 years ago

There is a weapon enumeration and it gets passed through messages. The only way a weapon moves is through suggest/accuse and so I think the only part missing is actually having the host initialize weapons into rooms. I suppose that doesnt really matter though since having weapons in rooms is purely cosmetic for both host and client

carsonlloyd commented 4 years ago

Initialized weapons to room in my branch for other functionality.