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

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

Introduction

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

Prototype

public double getLeftX() 

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