Stick¶
from acron.touch import Stick
- class Stick(size: float, cx: float, cy: float)¶
Bases:
objectOne thumbstick: where it is, and where the thumb has pulled it.
x/yare the stick’s own frame, y DOWN — pushing the thumb forward makesynegative, and the consumer decides the sign it feeds its throttle (a sign is a constant a game must pin).Inheritance diagram
digraph inheritance518bed819c { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "Stick" [URL="acron.touch.Stick.html#acron.touch.Stick",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="One thumbstick: where it is, and where the thumb has pulled it."]; }- cx¶
- cy¶
- down¶
- size¶
- x¶
- y¶