9 lines
100 B
Go
9 lines
100 B
Go
|
package main
|
||
|
|
||
|
type Actor interface {
|
||
|
Update() bool
|
||
|
Draw()
|
||
|
TakeHit(Actor)
|
||
|
GetPosition() Vector
|
||
|
}
|