Package games.stendhal.client.gui.styled.cursor

Examples of games.stendhal.client.gui.styled.cursor.StendhalCursor


    super.release();
  }

  @Override
  public StendhalCursor getCursor() {
    StendhalCursor cursor = super.getCursor();
    Corpse corpse = (Corpse) entity;

    // server override?
    if ((cursor != StendhalCursor.UNKNOWN) || (corpse == null)) {
      return cursor;
View Full Code Here


     */
    if ((e.getModifiersEx() & InputEvent.BUTTON1_DOWN_MASK) != 0) {
      return;
    }

    StendhalCursor cursor = getCursor(e.getPoint());
    canvas.setCursor(cursorRepository.get(cursor));
  }
View Full Code Here

   *
   * @param point
   * @return cursor
   */
  public StendhalCursor getCursor(Point point) {
    StendhalCursor cursor = null;

    // is the cursor aiming at a text box?
    final RemovableSprite text = screen.getTextAt(point.x, point.y);
    if (text != null) {
      return StendhalCursor.NORMAL;
View Full Code Here

TOP

Related Classes of games.stendhal.client.gui.styled.cursor.StendhalCursor

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.