daily pastebin goal
43%
SHARE
TWEET

Untitled

a guest Jan 11th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         val ironDagger2 = Entity().apply {
  2.             add(damage_04)
  3.             add(Item())
  4.             add(TextureComponent("item/weapon/dagger"))
  5.             add(EquipedTextureComponent("player/hand1/dagger"))
  6.             add(Equipped())
  7.         }
  8.  
  9.         val bikini = Entity().apply {
  10.             add(Item())
  11.             add(EquipedTextureComponent("player/body/bloody"))
  12.             add(Equipped())
  13.         }
  14.  
  15.         addEntity(ironDagger)
  16.         addEntity(ironDagger2)
  17.  
  18.         val heroInventory = InventoryComponent()
  19.         heroInventory.addItem(ironDagger2)
  20.         heroInventory.addItem(bikini)
  21.  
  22.         hero.add(heroInventory)
  23.         hero.add(UpdateTexture())
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top