StartSilasMaster

This commit is contained in:
Timofey06 2023-08-17 10:53:35 +03:00
parent 99fe39c2c5
commit a2fc6a5db4
3 changed files with 3 additions and 3 deletions

View file

@ -0,0 +1 @@
{"id":"SilasMove","textureName":"animation1","startSpriteRectangle":{"X":1,"Y":618,"Width":72,"Height":80},"frameSecond":[{"Item1":0,"Item2":30}],"textureFrameInterval":1,"framesCount":2,"isCycle":true,"offset":"0, 0"}

View file

@ -16,8 +16,7 @@ namespace DangerousD.GameCore.GameObjects.LivingEntities.Monsters
{ {
} }
protected override GraphicsComponent GraphicsComponent => throw new NotImplementedException(); protected override GraphicsComponent GraphicsComponent { get; } = new GraphicsComponent(new List<string>() { "SilasMove" }, "SilasMove");
public override void Attack() public override void Attack()
{ {
throw new NotImplementedException(); throw new NotImplementedException();

View file

@ -21,7 +21,7 @@ namespace DangerousD.GameCore.Graphics
return currentAnimation; return currentAnimation;
} }
} }
public string LastAnimation { get; set; }
public string GetCurrentAnimation public string GetCurrentAnimation
{ {
get { return currentAnimation.Id; } get { return currentAnimation.Id; }