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

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

Introduction

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

Prototype

public double getRightX() 

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;
}