Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Camfight
Player
getHurt
Camfight.Player.getHurt C# (CSharp) Method
Player Class Documentation
Show file
Open project: tuxoko/camfight
getHurt()
public
method
public
getHurt
(
int
damage
) :
void
damage
int
return
void
public void getHurt(int damage) { life -= damage; if (life <= 0) isalive = false; }
Player
Player
draw
drawHead
drawLeft
drawRight
getHurt
isHit
update