Example usage for com.google.gwt.maeglin89273.game.mengine.physics PixelAABB getTopY

List of usage examples for com.google.gwt.maeglin89273.game.mengine.physics PixelAABB getTopY

Introduction

In this page you can find the example usage for com.google.gwt.maeglin89273.game.mengine.physics PixelAABB getTopY.

Prototype

public double getTopY() 

Source Link

Usage

From source file:com.google.gwt.maeglin89273.shared.test.volcanogame.component.VolcanoWorld.java

@Override
public boolean isOutOfBounds(PixelAABB aabb) {
    if (aabb.getTopY() > height || aabb.getRightX() < 0 || aabb.getLeftX() > width)
        return true;
    return false;
}