FieldPosition

class FieldPosition(position: Vector2 = Vector2(), var angle: Double = 0.0)

A class to keep track of position and rotation on the field

Parameters

position

The position on the field in meters

angle

The angle on the field

Constructors

Link copied to clipboard
constructor(x: Double, y: Double, angle: Double)
constructor(position: Vector2 = Vector2(), angle: Double = 0.0)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var x: Double
Link copied to clipboard
var y: Double