summaryrefslogtreecommitdiff
path: root/queue.go
blob: f854de54dfcfe702f85caade46489b7f9134aeb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package main

//go:generate stringer -type=Type

type Type int

const (
	Task Type = iota
	Plot
	Heading
	Kill
	Market
	Sell
	Byuing
)

type Queue struct {
	Type     Type
	Duration int
	Title    string
}

func Dequeue(q Queue) {
	switch q.Type {
	case Kill:
	case Byuing:
	case Market, Sell:
	}
}