SnL Classen Referenz: Unterschied zwischen den Versionen
Aus Hackerspace Ffm
(Die Seite wurde neu angelegt: „=Target.py= {| class="wikitable" |+TargetHitRecord |- |colspan=3|Properties |- |Name |Value |Description |- |Butter |Eis |Dings |- |colspan=3|Methods |- |Nam…“) |
(→Target.py) |
||
| Zeile 21: | Zeile 21: | ||
|__init__ | |__init__ | ||
|self,weapon,hitPoint,hitType | |self,weapon,hitPoint,hitType | ||
| + | | | ||
| + | |- | ||
| + | |} | ||
| + | |||
| + | {| class="wikitable" | ||
| + | |+Target | ||
| + | |- | ||
| + | |colspan=3|Properties | ||
| + | |- | ||
| + | |Name | ||
| + | |Value | ||
| + | |Description | ||
| + | |- | ||
| + | |colspan=3|Methods | ||
| + | |- | ||
| + | |__init__ | ||
| + | |self,targetGroup,gameWorld,targetID,targetZIndex | ||
| | | | ||
|- | |- | ||
Version vom 31. Dezember 2015, 00:46 Uhr
Target.py
| Properties | ||
| Name | Value | Description |
| Butter | Eis | Dings |
| Methods | ||
| Name | Values | Description |
| __init__ | self,weapon,hitPoint,hitType | |
| Properties | ||
| Name | Value | Description |
| Methods | ||
| __init__ | self,targetGroup,gameWorld,targetID,targetZIndex | |
| HitMe | self | |
| AddHit | self,weapon,hitPoint,hitType | |
| MakeHitSerialBuffer | self | |
| CollectSerialBuffer | self | |
| Update | self | |
| TurnOffTarget | self | |
| UpdateAnimation | self | |
| TurnOffNeoPixel | self | |