|
|
@ -162,7 +162,6 @@ namespace SemiColinGames { |
|
|
|
|
|
|
|
public void Draw(SpriteBatch spriteBatch, Camera camera, GameTime time) { |
|
|
|
int index = SpriteIndex(pose, time); |
|
|
|
Debug.Toast("" + index); |
|
|
|
Rectangle textureSource = new Rectangle(index * spriteSize, 0, spriteSize, spriteSize); |
|
|
|
Vector2 spriteCenter = new Vector2(spriteSize / 2, spriteSize / 2); |
|
|
|
SpriteEffects effect = facing == Facing.Right ? |
|
|
|