summaryrefslogtreecommitdiff
path: root/src/item.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.go')
-rw-r--r--src/item.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/item.go b/src/item.go
index 36f8c0ae..584dfd85 100644
--- a/src/item.go
+++ b/src/item.go
@@ -44,6 +44,7 @@ func buildEmptyRank(index int32) [5]int32 {
return [5]int32{0, 0, 0, 0, index}
}
+// Index returns ordinal index of the Item
func (item *Item) Index() int32 {
return item.rank[4]
}