broadcasting death notifications
parent
3202c30cb8
commit
ca4015a4d4
@ -1,6 +1,6 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
type message struct {
|
type message struct {
|
||||||
from int
|
from *player
|
||||||
text string
|
text string
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
type soul struct {
|
||||||
|
PlayerName string `json:"playerName"`
|
||||||
|
Position vector3 `json:"position"`
|
||||||
|
}
|
Loading…
Reference in New Issue