Package marauroa.common.game

Examples of marauroa.common.game.RPClass


    isPowerpill=(myObject.getInt("dottype")==TYPE_POWERPILL);
  }

  public static void initRPClass()
  {
    RPClass superdot = new RPClass(consts.TYPE_POWERPILL);
    superdot.isA(consts.TYPE_DOT);
    superdot.add("dottype",RPClass.INT);
    superdot.add("powerprob",RPClass.INT)
  }
View Full Code Here


    y=object.getInt("y");
  }
 
  public static void initRPClass()
  {
     RPClass sign = new RPClass(consts.TYPE_EATENSIGN);
     sign.isA("position");
     sign.add("delete", RPClass.INT);
  }
View Full Code Here

     
  }

  public static void initRPClass()
  {
    RPClass fruit = new RPClass(consts.TYPE_FRUIT);
    fruit.isA(consts.TYPE_DOT);
    fruit.add("dottype",RPClass.INT);
    fruit.add("fruitprob",RPClass.INT)
  }
View Full Code Here

import marauroa.common.game.RPClass;

public class common {

  public static void initRPClasses() {
      RPClass pos=new RPClass("position");
      pos.add("x",RPClass.INT);
      pos.add("y",RPClass.INT);
         
      RPClass player=new RPClass(consts.TYPE_PLAYER);
      player.isA("position");
      player.add("text",RPClass.LONG_STRING, RPClass.VOLATILE);
      player.add("score",RPClass.INT);
      player.add("power",RPClass.INT);
      player.add("name",RPClass.STRING);
      player.add("dir",RPClass.BYTE,RPClass.VOLATILE);
      player.add("nextdir",RPClass.BYTE,RPClass.VOLATILE);
     
      RPClass ghost = new RPClass(consts.TYPE_GHOST);
      ghost.isA("position");
      ghost.add("dir",RPClass.BYTE);
      ghost.add("nextdir",RPClass.BYTE);
      ghost.add("!changedir",RPClass.INT,RPClass.HIDDEN);
      ghost.add("color",RPClass.BYTE);

    
      RPClass wall = new RPClass(consts.TYPE_WALL);
      wall.isA("position");   
     
      Dot.initRPClass();
      Superdot.initRPClass();
      Fruit.initRPClass();
      Powerpill.initRPClass();
View Full Code Here

    zoneChange.put("y",y);
  }

  public static void initRPClass()
  {
    RPClass zonechange = new RPClass(consts.TYPE_ZONECHANGE);
      zonechange.isA("position");
      zonechange.add("newzone",RPClass.STRING);
  }
View Full Code Here

    isSuperdot=(myObject.getInt("dottype")==TYPE_SUPERDOT);
  }

  public static void initRPClass()
  {
    RPClass superdot = new RPClass(consts.TYPE_SUPERDOT);
    superdot.isA(consts.TYPE_DOT);
    superdot.add("dottype",RPClass.INT);
    superdot.add("superprob",RPClass.INT)
  }
View Full Code Here

    y=object.getInt("y");
  }
 
  public static void initRPClass()
  {
     RPClass dot = new RPClass(consts.TYPE_DOT);
     dot.isA("position");
     dot.add("score",RPClass.BYTE,RPClass.VOLATILE);
     dot.add("respawn", RPClass.INT);
  }
View Full Code Here

  /**
   * generates the class definition for marauroa.
   */
  public static void generateRPClass() {
    final RPClass user = new RPClass("user");
    user.isA("meta_entity");
    user.addAttribute("name", Type.STRING);
  }
View Full Code Here

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

  /**
   * generates the class definition for marauroa.
   */
  public static void generateRPClass() {
    /*final RPClass entity =*/ new RPClass("entity");
  }
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.