# HG changeset patch # User KarstenBock@gmx.net # Date 1315136650 -7200 # Node ID da8589a71d940305c4961d5648f9d0aa0beb9312 # Parent d13924109572114a0cd049751ccf954efce6332e Added component to store the possible actions for an object. diff -r d13924109572 -r da8589a71d94 components/usable.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/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