dead code
This commit is contained in:
parent
08048fd31d
commit
6e1eaab5c2
1 changed files with 0 additions and 11 deletions
|
@ -2,7 +2,6 @@ package engine
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
"fmt"
|
|
||||||
"image"
|
"image"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -96,13 +95,3 @@ func sign(m int) int {
|
||||||
}
|
}
|
||||||
return 1
|
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)
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue