Package scripts :: Package objects :: Script action :: Class DropItemFromContainerAction
[hide private]
[frames] | no frames]

Class DropItemFromContainerAction

source code

object --+        
         |        
    Action --+    
             |    
DropItemAction --+
                 |
                DropItemFromContainerAction

Action for dropping an items from the Inventory to a map

Instance Methods [hide private]
 
__init__(self, controller, item, container_gui, commands=None)
Basic action constructor
source code
 
execute(self)
To be overwritten
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, controller, item, container_gui, commands=None)
(Constructor)

source code 

Basic action constructor

Parameters:
  • controller - A reference to the GameSceneController.
  • commands - Special commands that are executed
Overrides: object.__init__
(inherited documentation)

execute(self)

source code 

To be overwritten

Overrides: Action.execute
(inherited documentation)