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.
14 lines
210 B
Go
14 lines
210 B
Go
4 years ago
|
package sim
|
||
|
|
||
|
import "github.com/jordanorelli/astro-domu/internal/wire"
|
||
|
|
||
|
type Effect interface {
|
||
|
wire.Value
|
||
4 years ago
|
exec(*room, *player, int) result
|
||
4 years ago
|
}
|
||
|
|
||
|
type result struct {
|
||
|
reply wire.Value
|
||
|
announce wire.Value
|
||
4 years ago
|
}
|