AxisSetting class

A class that specifies axis configuration.

Instances of this class are used to configure things like movement in this package.

Annotations
  • @JsonSerializable()

Constructors

AxisSetting(GameControllerAxis axis, double sensitivity, int interval)
Create an instance.
const
AxisSetting.fromJson(Map<String, dynamic> json)
Create an instance from a JSON object.
factory

Properties

axis → GameControllerAxis
The axis that this setting refers to.
final
hashCode int
The hash code for this object.
no setterinherited
interval int
How often the feature this setting configures can run.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sensitivity double
The sensitivity of axis.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert an instance to JSON.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited