Package framework.spacial.OrientationComponent

Examples of framework.spacial.OrientationComponent.OrientationChangedEvent


  public void onEvent(Event e) {
    if(e != null && !ignoreCollisions){
      if(e.getType().equals("PositionChanged") && e.getSender() != null){
        checkForCollisions((PositionComponent) e.getSender());
      }else if (e.getType().equals("OrientationChanged")){
        OrientationChangedEvent o = (OrientationChangedEvent) e;
        mask.rotate(o.getDelta());
        checkForCollisions();
      }
    }
  }
View Full Code Here

TOP

Related Classes of framework.spacial.OrientationComponent.OrientationChangedEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.