You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
332 B
Go
29 lines
332 B
Go
package components
|
|
|
|
type ID struct {
|
|
ID uint64
|
|
}
|
|
|
|
type Location struct {
|
|
X, Y, Z int64
|
|
World uint64
|
|
Exits []uint64
|
|
}
|
|
|
|
type Observable struct {
|
|
Name string
|
|
Description string
|
|
}
|
|
|
|
type Inventory struct {
|
|
Items []uint64
|
|
}
|
|
|
|
type HP struct {
|
|
Max, Current, Regen int64
|
|
}
|
|
|
|
type Mana struct {
|
|
Max, Current, Regen int64
|
|
}
|