コード例 #1
0
  public innman2(room currentroom, int x, int y) {
    super(
        90,
        0,
        4,
        "fireballsideways",
        x,
        y,
        new every.noai(),
        currentroom.getweap2(),
        currentroom,
        100,
        140);

    buildvil1();

    this.setName("Tisivor");

    this.setStatement(
        "Hello there, I just got here from the castle.  Quite drab here don't you think?");
  }
コード例 #2
0
  public bowvillage(unit mainchar, jpanel1 pan) {
    super(mainchar, pan);

    openportal = new trigger(false, "bowvil_bowvillage_openportal");

    room room0 =
        new warp_field(
            panel,
            constants.sky,
            constants.bowvil,
            blank1,
            blank2,
            mainperson,
            null,
            null,
            null,
            this);

    entry = room0;

    room room1 =
        new arange(
            panel,
            constants.sky,
            constants.bowvil,
            blank1,
            blank2,
            mainperson,
            room0,
            null,
            null,
            this);

    room0.setrightroom(room1);

    room room2 =
        new market(
            panel,
            constants.sky,
            constants.bowvil,
            blank1,
            blank2,
            mainperson,
            room1,
            null,
            null,
            this);

    room1.setrightroom(room2);

    room room3 =
        new treehouse(
            panel,
            constants.sky,
            constants.bowvil,
            blank1,
            blank2,
            mainperson,
            room2,
            null,
            null,
            this);

    room2.setrightroom(room3);

    room room4 =
        new dungeonplat(
            panel,
            constants.sky,
            constants.bowvil,
            blank1,
            blank2,
            mainperson,
            room3,
            null,
            null,
            this);

    room3.setrightroom(room4);

    room room5 =
        new Elderroom(
            panel,
            constants.sky,
            constants.bowvil,
            blank1,
            blank2,
            mainperson,
            room4,
            null,
            null,
            this);

    room4.setrightroom(room5);

    room room6 =
        new warp_tree(
            panel,
            constants.sky,
            constants.bowvil,
            blank1,
            blank2,
            mainperson,
            room5,
            null,
            null,
            this);

    room5.setrightroom(room6);

    room6.setrightroom(room0);
    room0.setleftroom(room6);
  }
コード例 #3
0
  public floaterball(room currentroom, int x, int y, AI ai) {
    super(40, 0, 4, "fireball", x, y, ai, currentroom.getweap2(), currentroom, 100, 140);

    buildvil1();
  }