Module libtcodpy :: Class Dice
[hide private]
[frames] | no frames]

Class Dice

source code

   object --+        
            |        
    ??._CData --+    
                |    
_ctypes.Structure --+
                    |
                   Dice

Instance Methods [hide private]

Inherited from _ctypes.Structure: __init__, __new__

Inherited from unreachable._CData: __ctypes_from_outparam__, __hash__, __reduce__, __setstate__

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

Class Variables [hide private]
  _fields_ = [('nb_dices', <class 'ctypes.c_long'>), ('nb_faces'...
  addsub = <Field type=c_float, ofs=12, size=4>
  multiplier = <Field type=c_float, ofs=8, size=4>
  nb_dices = <Field type=c_long, ofs=0, size=4>
  nb_faces = <Field type=c_long, ofs=4, size=4>
Properties [hide private]

Inherited from unreachable._CData: _b_base_, _b_needsfree_

Inherited from unreachable._CData (private): _objects

Inherited from object: __class__

Class Variable Details [hide private]

_fields_

Value:
[('nb_dices', <class 'ctypes.c_long'>),
 ('nb_faces', <class 'ctypes.c_long'>),
 ('multiplier', <class 'ctypes.c_float'>),
 ('addsub', <class 'ctypes.c_float'>)]