summaryrefslogtreecommitdiff
path: root/queue.go
blob: c30fcb6a73d6ed8a69ef05ab003a1ea12468edf6 (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
package main

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:
	}
}