Commits
md_5 authored 9fdd2ce60db
182 182 | public GameMode getGameMode(); |
183 183 | |
184 184 | /** |
185 185 | * Sets this human's current {@link GameMode} |
186 186 | * |
187 187 | * @param mode New game mode |
188 188 | */ |
189 189 | public void setGameMode(GameMode mode); |
190 190 | |
191 191 | /** |
192 - | * Check if the player is currently blocking (ie with a sword). |
192 + | * Check if the player is currently blocking (ie with a shield). |
193 193 | * |
194 194 | * @return Whether they are blocking. |
195 195 | */ |
196 196 | public boolean isBlocking(); |
197 197 | |
198 + | /** |
199 + | * Check if the player currently has their hand raised (ie about to begin |
200 + | * blocking). |
201 + | * |
202 + | * @return Whether their hand is raised |
203 + | */ |
204 + | public boolean isHandRaised(); |
205 + | |
198 206 | /** |
199 207 | * Get the total amount of experience required for the player to level |
200 208 | * |
201 209 | * @return Experience required to level up |
202 210 | */ |
203 211 | public int getExpToLevel(); |
204 212 | } |