StartSilasMaster
This commit is contained in:
parent
99fe39c2c5
commit
a2fc6a5db4
3 changed files with 3 additions and 3 deletions
1
DangerousD/Content/animations/SilasMove
Normal file
1
DangerousD/Content/animations/SilasMove
Normal 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"}
|
|
@ -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()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
|
|
|
@ -21,7 +21,7 @@ namespace DangerousD.GameCore.Graphics
|
|||
return currentAnimation;
|
||||
}
|
||||
}
|
||||
|
||||
public string LastAnimation { get; set; }
|
||||
public string GetCurrentAnimation
|
||||
{
|
||||
get { return currentAnimation.Id; }
|
||||
|
|
Loading…
Add table
Reference in a new issue