C# Class Aura.Channel.World.Dungeons.Props.Fountain

Fountain prop, as found in dungeons.
Inheritance: Aura.Channel.World.Dungeons.Props.DungeonProp
Mostrar archivo Open project: aura-project/aura

Public Methods

Method Description
Fountain ( string name ) : Aura.Channel.Network.Sending

Creates new fountain.

TurnOff ( ) : void

Turns fountain off.

TurnOn ( ) : void

Turns fountain on.

Protected Methods

Method Description
DefaultBehavior ( Creature creature, Prop prop ) : void

Fountain's default behavior, checking state, who and how many times they used the fountain, and calling Touch.

Touch ( Creature creature ) : void

Applies random fountain effect to creature.

Method Details

DefaultBehavior() protected method

Fountain's default behavior, checking state, who and how many times they used the fountain, and calling Touch.
protected DefaultBehavior ( Creature creature, Prop prop ) : void
creature Aura.Channel.World.Entities.Creature
prop Aura.Channel.World.Entities.Prop
return void

Fountain() public method

Creates new fountain.
public Fountain ( string name ) : Aura.Channel.Network.Sending
name string
return Aura.Channel.Network.Sending

Touch() protected method

Applies random fountain effect to creature.
protected Touch ( Creature creature ) : void
creature Aura.Channel.World.Entities.Creature
return void

TurnOff() public method

Turns fountain off.
public TurnOff ( ) : void
return void

TurnOn() public method

Turns fountain on.
public TurnOn ( ) : void
return void