dead code

This commit is contained in:
Josh Deprez 2021-08-27 15:53:15 +10:00
parent 08048fd31d
commit 6e1eaab5c2

View file

@ -2,7 +2,6 @@ package engine
import (
"encoding/gob"
"fmt"
"image"
)
@ -96,13 +95,3 @@ func sign(m int) int {
}
return 1
}
// Collision reports a collision occurred.
type Collision struct {
With Collider
}
// Error is really only to implement the error interface.
func (c Collision) Error() string {
return fmt.Sprintf("collision with %v", c.With)
}