Package com.hobbitsadventure.model

Examples of com.hobbitsadventure.model.NonPlayerCharacter


   
    // FIXME Not sure we should re-read all the NPCs when reloading the map. Maybe they should have an existence
    // outside the map. Also the NPCs need to maintain their own positions as well (for movement), and updates need
    // to be synchronized with the object map. Maybe there is a better way to do it but that's what I have in mind
    // for now.
    realmMap.setCharacter(30, 25, new NonPlayerCharacter(NpcClasses.BUG));
    realmMap.setCharacter(28, 22, new NonPlayerCharacter(NpcClasses.PRINCESS));
    realmMap.setCharacter(10, 10, new NonPlayerCharacter(NpcClasses.CAT_GIRL));
    realmMap.setCharacter(20, 20, new NonPlayerCharacter(NpcClasses.HORN_GIRL));
    realmMap.setCharacter(40, 40, new NonPlayerCharacter(NpcClasses.PINK_GIRL));
   
    return realmMap;
  }
View Full Code Here

TOP

Related Classes of com.hobbitsadventure.model.NonPlayerCharacter

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.