public class CollisionResult extends Object
Constructor and Description |
---|
CollisionResult(Double x,
Double y,
Tile tile)
Create a collision result.
|
Modifier and Type | Method and Description |
---|---|
Tile |
getTile()
Get the collided tile.
|
Double |
getX()
Get the horizontal collision location.
|
Double |
getY()
Get the vertical collision location.
|
public Double getX()
null
if none).public Double getY()
null
if none).public Tile getTile()
Copyright © 2016 Byron 3D Games Studio. All rights reserved.