blob: 4830e1c10fc091e4a5fba45a4b6a4139eb233c7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
Other API components
====================
The player
----------
.. autoclass:: weatbag.Player
:members: has, give, take
.. attribute:: name
The name given by the player when they started the game.
.. attribute:: position
The player's position in the world as (n, e) co-ordinates.
.. attribute:: inventory
A :class:`collections.Counter` storing the item's in the player's bag.
Understanding commands
----------------------
.. automodule:: weatbag.words
|