1
0
Fork 0
mirror of https://github.com/Luzifer/sii.git synced 2024-12-21 00:21:15 +00:00
sii/block_ferry_log.go
Knut Ahlers 8ab2291202
Add new blocks
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-12-11 18:51:35 +01:00

19 lines
313 B
Go

package sii
func init() {
RegisterBlock(&FerryLog{})
}
type FerryLog struct {
Entries []Ptr `sii:"entries"`
blockName string
}
func (FerryLog) Class() string { return "ferry_log" }
func (f *FerryLog) Init(class, name string) {
f.blockName = name
}
func (f FerryLog) Name() string { return f.blockName }