1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-02 17:27:23 -04:00
OpenDiablo2/d2common/path.go
danhale-git 727e8244c6
Implemented Position in Path and PathTile (#605)
* Unnecessary constructor assignments removed.

* Position implemented in d2common.Path

* Position implemented in mapEntity.Step.

* Position implemented in d2common.PathTile.
2020-07-18 18:07:13 -04:00

10 lines
177 B
Go

package d2common
import "github.com/OpenDiablo2/OpenDiablo2/d2common/d2math/d2vector"
// Path represents a path
type Path struct {
Position d2vector.Position
Action int
}