Реализация живого доспеха
This commit is contained in:
parent
64e6187aab
commit
aca884b891
5 changed files with 354 additions and 4 deletions
|
@ -9,11 +9,13 @@ public partial class Player : CharacterBody2D
|
|||
|
||||
public bool Alive = true;
|
||||
|
||||
public static Player Instance { get; private set; }
|
||||
|
||||
protected AnimatedSprite2D Sprite;
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
base._Ready();
|
||||
Instance = this;
|
||||
|
||||
Sprite = (AnimatedSprite2D)FindChild("AnimatedSprite2D");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue