C# Class HUD_Manager, DefendAman

Inheritance: MonoBehaviour
Exibir arquivo Open project: CarsonRoscoe/DefendAman Class Usage Examples

Public Properties

Property Type Description
allyKing AllyKing
chargeBar ChargeBar,
chat Chat,
colourizeScreen ColourizeScreen,
currency Currency,
enemyKing EnemyKing,
instance HUD_Manager,
loseScreen LoseScreen,
mainSkill MainSkill
mapManager MapManager,
passiveSkill PassiveSkill,
placementRange GameObject
playerDp PlayerDP
playerProfile PlayerProfile,
shop Shop,
stamina Stamina,
statsPanel GameObject
subSkill SubSkill
timer Text
upgradeAmount Text
winScreen WinScreen,

Public Methods

Method Description
AddPotion ( String potionType ) : void
Buy ( ) : void
CheckChatAction ( ) : void
CheckShopOption ( ) : void
DisplayShop ( ) : void
SelectItem ( int i ) : void
SetAllCollidersStatus ( GameObject go, bool active ) : void
StatAnimation ( ) : void
UpdateAllyKingHealth ( float Dmg ) : void
UpdateChat ( int team, string username, string message ) : void
UpdateCurrency ( int amount ) : void
UpdateEnemyKingHealth ( float Dmg ) : void
UpdatePlayerHealth ( float Dmg ) : void
UpgradeWeapon ( ) : void
UseMainSkill ( float CoolDown ) : void
UseSubSkill ( float CoolDown ) : void

Private Methods

Method Description
Awake ( ) : void
CheckBuildingPlacement ( GameObject buildings ) : void
CheckSkillStatus ( ) : void
CheckStaminaStatus ( ) : void
CheckValidLocation ( GameObject building ) : bool
HighlightItem ( int i ) : void
PlaceBuilding ( GameObject building ) : bool
Rotate ( object parms ) : IEnumerator
Send ( string packet ) : void
Start ( ) : void
UnHighlightItem ( ) : void
Update ( ) : void
UpdateBuildingCreationCallBack ( JSONClass data ) : void
UpdateBuildingDestructionCallBack ( JSONClass data ) : void
UpdateChatCallBack ( JSONClass data ) : void
UpdateTimer ( ) : void

Method Details

AddPotion() public method

public AddPotion ( String potionType ) : void
potionType String
return void

Buy() public method

public Buy ( ) : void
return void

CheckChatAction() public method

public CheckChatAction ( ) : void
return void

CheckShopOption() public method

public CheckShopOption ( ) : void
return void

DisplayShop() public method

public DisplayShop ( ) : void
return void

SelectItem() public method

public SelectItem ( int i ) : void
i int
return void

SetAllCollidersStatus() public method

public SetAllCollidersStatus ( GameObject go, bool active ) : void
go GameObject
active bool
return void

StatAnimation() public method

public StatAnimation ( ) : void
return void

UpdateAllyKingHealth() public method

public UpdateAllyKingHealth ( float Dmg ) : void
Dmg float
return void

UpdateChat() public method

public UpdateChat ( int team, string username, string message ) : void
team int
username string
message string
return void

UpdateCurrency() public method

public UpdateCurrency ( int amount ) : void
amount int
return void

UpdateEnemyKingHealth() public method

public UpdateEnemyKingHealth ( float Dmg ) : void
Dmg float
return void

UpdatePlayerHealth() public method

public UpdatePlayerHealth ( float Dmg ) : void
Dmg float
return void

UpgradeWeapon() public method

public UpgradeWeapon ( ) : void
return void

UseMainSkill() public method

public UseMainSkill ( float CoolDown ) : void
CoolDown float
return void

UseSubSkill() public method

public UseSubSkill ( float CoolDown ) : void
CoolDown float
return void

Property Details

allyKing public_oe property

public AllyKing allyKing
return AllyKing

chargeBar public_oe property

public ChargeBar, chargeBar
return ChargeBar,

chat public_oe property

public Chat, chat
return Chat,

colourizeScreen public_oe property

public ColourizeScreen, colourizeScreen
return ColourizeScreen,

currency public_oe property

public Currency, currency
return Currency,

enemyKing public_oe property

public EnemyKing, enemyKing
return EnemyKing,

instance public_oe static_oe property

public static HUD_Manager, instance
return HUD_Manager,

loseScreen public_oe property

public LoseScreen, loseScreen
return LoseScreen,

mainSkill public_oe property

public MainSkill mainSkill
return MainSkill

mapManager public_oe property

public MapManager, mapManager
return MapManager,

passiveSkill public_oe property

public PassiveSkill, passiveSkill
return PassiveSkill,

placementRange public_oe property

public GameObject placementRange
return GameObject

playerDp public_oe property

public PlayerDP playerDp
return PlayerDP

playerProfile public_oe property

public PlayerProfile, playerProfile
return PlayerProfile,

shop public_oe property

public Shop, shop
return Shop,

stamina public_oe property

public Stamina, stamina
return Stamina,

statsPanel public_oe property

public GameObject statsPanel
return GameObject

subSkill public_oe property

public SubSkill subSkill
return SubSkill

timer public_oe property

public Text timer
return Text

upgradeAmount public_oe property

public Text upgradeAmount
return Text

winScreen public_oe property

public WinScreen, winScreen
return WinScreen,