SnL Classen Referenz: Unterschied zwischen den Versionen

Aus Hackerspace Ffm
Wechseln zu: Navigation, Suche
(Class: TargetGroup)
(Target.py)
Zeile 41: Zeile 41:
 
== Target.py ==
 
== Target.py ==
  
 +
==== Class: TargetHitRecord ====
 
{| class="wikitable"
 
{| class="wikitable"
|+TargetHitRecord
 
|-
 
 
|colspan=3|Properties
 
|colspan=3|Properties
 
|-
 
|-
Zeile 62: Zeile 61:
 
|}
 
|}
  
 +
==== Class: Target ====
 
{| class="wikitable"
 
{| class="wikitable"
|+Target
 
 
|-
 
|-
 
|colspan=3|Properties
 
|colspan=3|Properties

Version vom 31. Dezember 2015, 00:54 Uhr

TargetGroup.py

Class: TargetGroup

Properties
Name Value Description
Methods
Name Values Description
__init__ self,gameWorld,targetGroupID,targetGroupZIndex
AddTarget self,targetID,targetZIndex
CollectSerialBufferFromTargetsAsList self
UpdateTargets self
GetTargetByID self,GTBI_id

Target.py

Class: TargetHitRecord

Properties
Name Value Description
Methods
Name Values Description
__init__ self,weapon,hitPoint,hitType

Class: Target

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