Examples of Sword


Examples of com.teamjmonkey.entity.weapons.Sword

        mainCharacter.getSpatial().move(-130, 40, -60);
        mainCharacter.finalise();
        rootNode.attachChild(mainCharacter.getSpatial());
        allEntities.add(mainCharacter);

        Sword sword = (Sword) entityManager.create(Entity.SWORD);
        sword.finalise();
        rootNode.attachChild(sword.getSpatial());
        allEntities.add(sword);
    }
View Full Code Here

Examples of vee.items.weapons.Sword

  public void testInInventory() {
    System.out.println("Testing truth of inventory items being contained");

    Corset corset = new Corset();
    Doublet doublet = new Doublet();
    Sword sword = new Sword();
    Stilleto stilleto = new Stilleto();
    Stilleto stilleto2 = new Stilleto();

    Henchwoman h = new Henchwoman();
    h.inventory.addBag();
View Full Code Here

Examples of vee.items.weapons.Sword

   * Testing adding an Item to the first and only, empty bag.
   */
  @Test
  public void testAddItemToEmptyFirstBag() {
    System.out.println("Adding an Item to an empty, first bag.");
    Sword s = new Sword();
    Inventory inventory = new Inventory();
    inventory.addBag();
    boolean result = inventory.addItem(s);
    boolean expResult = true;
    assertEquals(expResult, result);
View Full Code Here

Examples of vee.items.weapons.Sword

   * Testing adding an Item to the first and only, full bag.
   */
  @Test
  public void testAddItemToFullFirstBag() {
    System.out.println("Adding an Item to a full, first bag.");
    Sword s = new Sword();
    Inventory inventory = new Inventory();
    inventory.addBag(0);
    boolean result = inventory.addItem(s);
    boolean expResult = false;
    assertEquals(expResult, result);
View Full Code Here

Examples of vee.items.weapons.Sword

   * Testing adding an Item to the last, empty bag.
   */
  @Test
  public void testAddItemToEmptyLastBag() {
    System.out.println("Adding an Item to the empty, last bag.");
    Sword s = new Sword();
    Inventory inventory = new Inventory();
    inventory.addBag(0);
    inventory.addBag(16);

    boolean result = inventory.addItem(s);
View Full Code Here

Examples of vee.items.weapons.Sword

   * Testing adding an Item to the last, full bag.
   */
  @Test
  public void testAddItemToFullLastBag() {
    System.out.println("Adding an Item to the full, last bag.");
    Sword s = new Sword();

    Inventory inventory = new Inventory();
    inventory.addBag(0);
    inventory.addBag(0);

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.