zombie.ui
Class LevelUpCategory

java.lang.Object
  extended by zombie.ui.UIElement
      extended by zombie.ui.LevelUpCategory
All Implemented Interfaces:
UIEventHandler

public class LevelUpCategory
extends UIElement
implements UIEventHandler

Author:
LEMMY

Field Summary
 PerkFactory.Perk perk
           
 PerkFactory.Perks perkType
           
 java.util.ArrayList<PerkFactory.Perk> subPerks
           
 
Fields inherited from class zombie.ui.UIElement
anchorBottom, anchorLeft, anchorRight, anchorTop, bScrollChildren, bScrollWithParent, capture, clickedValue, Controls, defaultDraw, followGameWorld, height, IgnoreLossControl, Parent, playerContext, table, visible, width, x, y
 
Constructor Summary
LevelUpCategory(PerkFactory.Perks mainPerk)
           
 
Method Summary
 void DoubleClick(java.lang.String name, int x, int y)
           
 PerkButton[][] getPerks()
           
 void ModalClick(java.lang.String name, java.lang.String chosen)
           
 void render()
           
 void reset()
           
 void Selected(java.lang.String name, int Selected, int LastSelected)
           
 
Methods inherited from class zombie.ui.UIElement
AddChild, bringToTop, ButtonClicked, ClearChildren, clearMaxDrawHeight, clearStencilRect, DrawText, DrawText, DrawTextCentre, DrawTextCentre, DrawTextRight, DrawTextRight, DrawTexture_FlippedX, DrawTexture_FlippedXIgnoreOffset, DrawTexture, DrawTextureCol, DrawTextureColor, DrawTextureIgnoreOffset, DrawTextureScaled, DrawTextureScaledCol, DrawTextureScaledCol, DrawTextureScaledColor, DrawUVSliceTexture, getAbsoluteX, getAbsoluteY, getClickedValue, getControls, getHeight, getParent, getPlayerContext, getScrollChildren, getScrollWithParent, getTable, getWidth, getX, getXScroll, getXScrolled, getY, getYScroll, getYScrolled, ignoreHeightChange, ignoreWidthChange, isAnchorBottom, isAnchorLeft, isAnchorRight, isAnchorTop, isCapture, isDefaultDraw, isFollowGameWorld, isIgnoreLossControl, isVisible, onMouseDown, onMouseMove, onMouseMoveOutside, onMouseUp, onMouseWheel, onresize, onResize, onRightMouseDown, onRightMouseUp, RemoveChild, RemoveControl, resumeStencil, setAlwaysOnTop, setAnchorBottom, setAnchorLeft, setAnchorRight, setAnchorTop, setCapture, setClickedValue, setConsumeMouseEvents, setControls, setDefaultDraw, setFollowGameWorld, setHeight, setHeightSilent, setIgnoreLossControl, setMaxDrawHeight, setParent, setPlayerContext, setScrollChildren, setScrollWithParent, setStencilRect, setTable, setVisible, setWidth, setWidthSilent, setX, setXScroll, setY, setYScroll, suspendStencil, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

perk

public PerkFactory.Perk perk

perkType

public PerkFactory.Perks perkType

subPerks

public java.util.ArrayList<PerkFactory.Perk> subPerks
Constructor Detail

LevelUpCategory

public LevelUpCategory(PerkFactory.Perks mainPerk)
Method Detail

getPerks

public PerkButton[][] getPerks()

reset

public void reset()

render

public void render()
Overrides:
render in class UIElement

DoubleClick

public void DoubleClick(java.lang.String name,
                        int x,
                        int y)
Specified by:
DoubleClick in interface UIEventHandler

ModalClick

public void ModalClick(java.lang.String name,
                       java.lang.String chosen)
Specified by:
ModalClick in interface UIEventHandler

Selected

public void Selected(java.lang.String name,
                     int Selected,
                     int LastSelected)
Specified by:
Selected in interface UIEventHandler