SnL Classen Referenz: Unterschied zwischen den Versionen

Aus Hackerspace Ffm
Wechseln zu: Navigation, Suche
(Class: TargetGroup)
(Class: TargetGroup)
Zeile 18: Zeile 18:
 
|-
 
|-
 
|__init__
 
|__init__
 +
|self,gameWorld,targetGroupID,targetGroupZIndex
 
|
 
|
 +
|-
 +
|AddTarget
 +
|self,targetID,targetZIndex
 +
|
 +
|-
 +
|CollectSerialBufferFromTargetsAsList
 +
|self
 +
|
 +
|-
 +
|UpdateTargets
 +
|self
 +
|
 +
|-
 +
|GetTargetByID
 +
|self,GTBI_id
 
|
 
|
 
|-
 
|-

Version vom 31. Dezember 2015, 00:52 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

TargetHitRecord
Properties
Name Value Description
Methods
Name Values Description
__init__ self,weapon,hitPoint,hitType
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