# HG changeset patch # User KarstenBock@gmx.net # Date 1315136650 -7200 # Node ID 62d8d545260c88ab92b2b7589d33380d57c766e0 # Parent 79cb7a65941465c7e50a93f78675a021d39b5425 Added component to store the possible actions for an object. diff -r 79cb7a659414 -r 62d8d545260c src/parpg/components/usable.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/parpg/components/usable.py Sun Sep 04 13:44:10 2011 +0200 @@ -0,0 +1,22 @@ +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +from parpg.grease.component import Component + +class Usable(Component): + """ + Component that stores data about the actions that an object can do. + """ + + def __init__(self): + Component.__init__(self, actions=dict) \ No newline at end of file