Reworked the directories to be a little more machine independent and make the hero snap to grid cells when moving, which improved collision handling.
This commit is contained in:
@@ -6,6 +6,7 @@ import fmon.stat._
|
||||
import fmon.util.{Dice, IntFraction}
|
||||
|
||||
package object fmon {
|
||||
type Direction = fmon.util.Direction.Val
|
||||
|
||||
implicit def rngDice(rng : Random) = new Dice(rng)
|
||||
implicit def int2Helper(x : Int) = new IntFraction(x)
|
||||
|
||||
Reference in New Issue
Block a user