C# Class Gem, Castle-Bashers

Inheritance: MonoBehaviour
Afficher le fichier Open project: DevelopersGuild/Castle-Bashers Class Usage Examples

Protected Properties

Свойство Type Description
active bool
bonus int
description string
gemIcon Sprite
gemName string
gemType int
player Player
quality int

Méthodes publiques

Méthode 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 méthode

public GetDescription ( ) : string
Résultat string

Initialize() public méthode

public Initialize ( int q ) : void
q int
Résultat void

activate() public méthode

public activate ( ) : void
Résultat void

deactivate() public méthode

public deactivate ( ) : void
Résultat void

getDescription() public méthode

public getDescription ( ) : string
Résultat string

getGemIcon() public méthode

public getGemIcon ( ) : Sprite
Résultat Sprite

getGemType() public méthode

public getGemType ( ) : int
Résultat int

getName() public méthode

public getName ( ) : string
Résultat string

getQuality() public méthode

public getQuality ( ) : int
Résultat int

onUpdate() public méthode

public onUpdate ( ) : void
Résultat void

setGemIcon() public méthode

public setGemIcon ( Sprite icon ) : void
icon Sprite
Résultat void

setGemType() public méthode

public setGemType ( int type ) : void
type int
Résultat void

setOwner() public méthode

public setOwner ( Player p ) : void
p Player
Résultat void

setQuality() public méthode

public setQuality ( int q ) : void
q int
Résultat void

Property Details

active protected_oe property

protected bool active
Résultat bool

bonus protected_oe property

protected int bonus
Résultat int

description protected_oe property

protected string description
Résultat string

gemIcon protected_oe property

protected Sprite gemIcon
Résultat Sprite

gemName protected_oe property

protected string gemName
Résultat string

gemType protected_oe property

protected int gemType
Résultat int

player protected_oe property

protected Player player
Résultat Player

quality protected_oe property

protected int quality
Résultat int