Package marauroa.common.game

Examples of marauroa.common.game.RPClass


  /**
   * generates the class definition for marauroa.
   */
  public static void generateRPClass() {
    final RPClass shape = new RPClass("shape");
    shape.isA("entity");

    shape.addAttribute("thickness", Type.INT);
    shape.addAttribute("color", Type.INT);
    shape.addAttribute("x", Type.INT);
    shape.addAttribute("y", Type.INT);
    shape.addAttribute("z", Type.INT);
  }
View Full Code Here


  /**
   * generates the class definition for marauroa.
   */
  public static void generateRPClass() {
    final RPClass shape = new RPClass("filled_shape");
    shape.isA("shape");

    shape.addAttribute("fill_color", Type.INT);
  }
View Full Code Here

  /**
   * generates the class definition for marauroa.
   */
  public static void generateRPClass() {
    final RPClass shape = new RPClass("straight_line");
    shape.isA("shape");
    shape.addAttribute("x2", Type.INT);
    shape.addAttribute("y2", Type.INT);
  }
View Full Code Here

 
  /**
   * generates the RPClass
   */
  public static void generateRPClass() {
    final RPClass shape = new RPClass("oval");
    shape.isA("filled_shape");
    shape.addAttribute("x2", Type.INT);
    shape.addAttribute("y2", Type.INT);
  }
View Full Code Here

  /**
   * generates the class definition for marauroa.
   */
  public static void generateRPClass() {
    final RPClass shape = new RPClass("dot");
    shape.isA("shape");
  }
View Full Code Here

  /**
   * generates the class definition for marauroa.
   */
  public static void generateRPClass() {
    final RPClass shape = new RPClass("rectangle");
    shape.isA("filled_shape");
    shape.addAttribute("x2", Type.INT);
    shape.addAttribute("y2", Type.INT);
  }
View Full Code Here

TOP

Related Classes of marauroa.common.game.RPClass

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.