holy shit components are rendering whaaaaaaaaaaaaaaaat
This commit is contained in:
29
common/elements/v1/mouse/mouse.go
Normal file
29
common/elements/v1/mouse/mouse.go
Normal file
@@ -0,0 +1,29 @@
|
||||
package mouse
|
||||
|
||||
import "git.vezzani.net/ben/games/common/elements/v1"
|
||||
|
||||
type NopHandler struct{}
|
||||
|
||||
func (n NopHandler) HandleClick(s elements.MouseState) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (n NopHandler) HandleMouseEnter(s elements.MouseState) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (n NopHandler) HandleMouseLeave(s elements.MouseState) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (n NopHandler) HandleMouseMove(s elements.MouseState) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (n NopHandler) HandleMouseDown(s elements.MouseState) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (n NopHandler) HandleMouseUp(s elements.MouseState) error {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user