18 lines
276 B
Go
18 lines
276 B
Go
|
package model
|
||
|
|
||
|
func (e *Entity) Position(id int) *EntityPosition {
|
||
|
for _, p := range e.EntityPosition {
|
||
|
if p.Id_ == id {
|
||
|
return p
|
||
|
}
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type HistoricalEventDetails interface {
|
||
|
RelatedToHf(int) bool
|
||
|
}
|
||
|
|
||
|
type HistoricalEventCollectionDetails interface {
|
||
|
}
|