obstacle_point

package
v0.0.0-...-71ffa5d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObstaclePoint

type ObstaclePoint struct {
	X          int32   `json:"x"`
	Y          int32   `json:"y"`
	Radius     int32   `json:"radius"`
	Move       bool    `json:"move"` // если тру то это только для пуль
	ParentID   int32   `json:"-"`
	ParentType string  `json:"-"`
	Key        string  `json:"-"`
	Height     float64 `json:"height"`
}

func (*ObstaclePoint) GetHeight

func (o *ObstaclePoint) GetHeight() float64

func (*ObstaclePoint) GetKey

func (o *ObstaclePoint) GetKey() string

func (*ObstaclePoint) GetMove

func (o *ObstaclePoint) GetMove() bool

func (*ObstaclePoint) GetParentID

func (o *ObstaclePoint) GetParentID() int

func (*ObstaclePoint) GetParentType

func (o *ObstaclePoint) GetParentType() string

func (*ObstaclePoint) GetRadius

func (o *ObstaclePoint) GetRadius() int

func (*ObstaclePoint) GetX

func (o *ObstaclePoint) GetX() int

func (*ObstaclePoint) GetY

func (o *ObstaclePoint) GetY() int

func (*ObstaclePoint) SetHeight

func (o *ObstaclePoint) SetHeight(height float64)

func (*ObstaclePoint) SetKey

func (o *ObstaclePoint) SetKey(key string)

func (*ObstaclePoint) SetParentID

func (o *ObstaclePoint) SetParentID(parentID int)

func (*ObstaclePoint) SetParentType

func (o *ObstaclePoint) SetParentType(parentType string)

func (*ObstaclePoint) SetRadius

func (o *ObstaclePoint) SetRadius(radius int)

func (*ObstaclePoint) SetX

func (o *ObstaclePoint) SetX(x int)

func (*ObstaclePoint) SetY

func (o *ObstaclePoint) SetY(y int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL