LottoFrame class final
跨帧复用的摇奖快照;坐标相对各容器圆心。
- Inheritance
-
- Object
- LuckyFrame
- LottoFrame
Constructors
- LottoFrame()
- 创建空帧,配置后分配固定长度缓冲。
Properties
-
angle
↔ List<
Float64List> -
各池球自转角(弧度)。
getter/setter pair
- drawnCount ↔ int
-
已落槽球数。
getter/setter pair
- flight ↔ Float64List
-
按开奖顺序排列的球飞行进度,未开始时为零。
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mix ↔ double
-
当前搅拌强度。
getter/setter pair
- phase ↔ LuckyPhase
-
当前运动阶段。
getter/setter pairinherited
- physical ↔ Uint8List
-
各池是否正在用物理模拟,一为是;为零(含超过球数上限的回退)的池不绘制拨杆。
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
slotOf
↔ List<
Int32List> -
每池每颗球当前的结果槽下标,未抽出为 -1。
getter/setter pair
- stirDeg ↔ Float64List
-
物理模式下各池拨杆的当前角度,单位度;参数化轨迹为零。
getter/setter pair
- swirlDeg ↔ double
-
累计搅拌角(度)。
getter/setter pair
-
x
↔ List<
Float64List> -
各池球横坐标,与 mixer 共用缓冲。
getter/setter pair
-
y
↔ List<
Float64List> -
各池球纵坐标,与 mixer 共用缓冲。
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited