C# Class RLCharacter, nightmare_cooperative

Inheritance: MonoBehaviour
Show file Open project: jonbro/nightmare_cooperative Class Usage Examples

Public Properties

Property Type Description
color Color
def MonsterDef,
direction Facing,
display char
hasTypes List
health int
mapScale float
name string
offset Vector3
positionI Vector2i,
tintColor Color

Public Methods

Method Description
AddSprite ( string spriteName ) : void
AddType ( RLTypes t ) : void
Attack ( Vector2i, target ) : void
Awake ( ) : void
FinalKill ( AbstractGoTween, t = null ) : void
FinalKillNoAudio ( ) : void
Hide ( ) : void
HideImmediate ( ) : void
Hit ( int hitAmount = 1 ) : void
Kill ( ) : void
PlayHit ( AbstractGoTween, t ) : void
PlayHitAnimation ( AbstractGoTween, t ) : void
PlayHitAnimationHard ( AbstractGoTween, t ) : void
SetPosition ( int x, int y ) : void
SetPositionImmediate ( int x, int y ) : void
SetWating ( ) : void
Show ( ) : void
Start ( ) : void
Update ( ) : void
WakeUp ( ) : void

Method Details

AddSprite() public method

public AddSprite ( string spriteName ) : void
spriteName string
return void

AddType() public method

public AddType ( RLTypes t ) : void
t RLTypes
return void

Attack() public method

public Attack ( Vector2i, target ) : void
target Vector2i,
return void

Awake() public method

public Awake ( ) : void
return void

FinalKill() public method

public FinalKill ( AbstractGoTween, t = null ) : void
t AbstractGoTween,
return void

FinalKillNoAudio() public method

public FinalKillNoAudio ( ) : void
return void

Hide() public method

public Hide ( ) : void
return void

HideImmediate() public method

public HideImmediate ( ) : void
return void

Hit() public method

public Hit ( int hitAmount = 1 ) : void
hitAmount int
return void

Kill() public method

public Kill ( ) : void
return void

PlayHit() public method

public PlayHit ( AbstractGoTween, t ) : void
t AbstractGoTween,
return void

PlayHitAnimation() public method

public PlayHitAnimation ( AbstractGoTween, t ) : void
t AbstractGoTween,
return void

PlayHitAnimationHard() public method

public PlayHitAnimationHard ( AbstractGoTween, t ) : void
t AbstractGoTween,
return void

SetPosition() public method

public SetPosition ( int x, int y ) : void
x int
y int
return void

SetPositionImmediate() public method

public SetPositionImmediate ( int x, int y ) : void
x int
y int
return void

SetWating() public method

public SetWating ( ) : void
return void

Show() public method

public Show ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

WakeUp() public method

public WakeUp ( ) : void
return void

Property Details

color public property

public Color color
return Color

def public property

public MonsterDef, def
return MonsterDef,

direction public property

public Facing, direction
return Facing,

display public property

public char display
return char

hasTypes public property

public List hasTypes
return List

health public property

public int health
return int

mapScale public property

public float mapScale
return float

name public property

public string name
return string

offset public property

public Vector3 offset
return Vector3

positionI public property

public Vector2i, positionI
return Vector2i,

tintColor public property

public Color tintColor
return Color