SnL Classen Referenz: Unterschied zwischen den Versionen
Aus Hackerspace Ffm
(→Target.py) |
|||
| Zeile 1: | Zeile 1: | ||
| + | |||
| + | == TargetGroup.py == | ||
| + | |||
| + | TargetGroup | ||
| + | {| class="wikitable" | ||
| + | |+ TargetGroup | ||
| + | |- | ||
| + | |colspan=3|Properties | ||
| + | |- | ||
| + | |Name | ||
| + | |Value | ||
| + | |Description | ||
| + | |- | ||
| + | |colspan=3|Methods | ||
| + | |- | ||
| + | |Name | ||
| + | |Values | ||
| + | |Description | ||
| + | |- | ||
| + | |__init__ | ||
| + | | | ||
| + | | | ||
| + | |- | ||
| + | |} | ||
| + | |||
== Target.py == | == Target.py == | ||
| Zeile 9: | Zeile 34: | ||
|Value | |Value | ||
|Description | |Description | ||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
|colspan=3|Methods | |colspan=3|Methods | ||
Version vom 31. Dezember 2015, 00:49 Uhr
TargetGroup.py
TargetGroup
| Properties | ||
| Name | Value | Description |
| Methods | ||
| Name | Values | Description |
| __init__ | ||
Target.py
| Properties | ||
| Name | Value | Description |
| 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 | |