C# Class Gem, Castle-Bashers

Inheritance: MonoBehaviour
Exibir arquivo Open project: DevelopersGuild/Castle-Bashers Class Usage Examples

Protected Properties

Property Type Description
active bool
bonus int
description string
gemIcon Sprite
gemName string
gemType int
player Player
quality int

Public Methods

Method Description
GetDescription ( ) : string
Initialize ( int q ) : void
activate ( ) : void
deactivate ( ) : void
getDescription ( ) : string
getGemIcon ( ) : Sprite
getGemType ( ) : int
getName ( ) : string
getQuality ( ) : int
onUpdate ( ) : void
setGemIcon ( Sprite icon ) : void
setGemType ( int type ) : void
setOwner ( Player p ) : void
setQuality ( int q ) : void

Method Details

GetDescription() public method

public GetDescription ( ) : string
return string

Initialize() public method

public Initialize ( int q ) : void
q int
return void

activate() public method

public activate ( ) : void
return void

deactivate() public method

public deactivate ( ) : void
return void

getDescription() public method

public getDescription ( ) : string
return string

getGemIcon() public method

public getGemIcon ( ) : Sprite
return Sprite

getGemType() public method

public getGemType ( ) : int
return int

getName() public method

public getName ( ) : string
return string

getQuality() public method

public getQuality ( ) : int
return int

onUpdate() public method

public onUpdate ( ) : void
return void

setGemIcon() public method

public setGemIcon ( Sprite icon ) : void
icon Sprite
return void

setGemType() public method

public setGemType ( int type ) : void
type int
return void

setOwner() public method

public setOwner ( Player p ) : void
p Player
return void

setQuality() public method

public setQuality ( int q ) : void
q int
return void

Property Details

active protected_oe property

protected bool active
return bool

bonus protected_oe property

protected int bonus
return int

description protected_oe property

protected string description
return string

gemIcon protected_oe property

protected Sprite gemIcon
return Sprite

gemName protected_oe property

protected string gemName
return string

gemType protected_oe property

protected int gemType
return int

player protected_oe property

protected Player player
return Player

quality protected_oe property

protected int quality
return int