Package pacManReloaded.common.model
Class Map
- java.lang.Object
-
- pacManReloaded.common.model.Map
-
public class Map extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Map()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetMapSize()java.lang.ObjectgetObject(java.awt.geom.Point2D.Float actorPos)return object that is at the positionbooleanisFree(float f, float yStart)check position is free of objectsjava.awt.geom.Point2D.FloatPos2DisplayPos(java.awt.geom.Point2D.Float point)voidremoveBall(Ball o)voidremovePowerBall(PowerBall o)
-
-
-
Method Detail
-
isFree
public boolean isFree(float f, float yStart)check position is free of objects
-
getObject
public java.lang.Object getObject(java.awt.geom.Point2D.Float actorPos)
return object that is at the position
-
Pos2DisplayPos
public java.awt.geom.Point2D.Float Pos2DisplayPos(java.awt.geom.Point2D.Float point)
-
getMapSize
public float getMapSize()
-
removePowerBall
public void removePowerBall(PowerBall o)
-
removeBall
public void removeBall(Ball o)
-
-