Documentation ¶
Index ¶
- type ObstaclePoint
- func (o *ObstaclePoint) GetHeight() float64
- func (o *ObstaclePoint) GetKey() string
- func (o *ObstaclePoint) GetMove() bool
- func (o *ObstaclePoint) GetParentID() int
- func (o *ObstaclePoint) GetParentType() string
- func (o *ObstaclePoint) GetRadius() int
- func (o *ObstaclePoint) GetX() int
- func (o *ObstaclePoint) GetY() int
- func (o *ObstaclePoint) SetHeight(height float64)
- func (o *ObstaclePoint) SetKey(key string)
- func (o *ObstaclePoint) SetParentID(parentID int)
- func (o *ObstaclePoint) SetParentType(parentType string)
- func (o *ObstaclePoint) SetRadius(radius int)
- func (o *ObstaclePoint) SetX(x int)
- func (o *ObstaclePoint) SetY(y int)
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)
Click to show internal directories.
Click to hide internal directories.