+ //character = new SpriteBatch(spriteBatch.GraphicsDevice);\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ public void AttackUpLeft(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[0];\r
+ row = 4;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ public void AttackUp(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[0];\r
+ row = 4;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ public void AttackUpRight(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[0];\r
+ row = 5;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ public void AttackRight(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[0];\r
+ row = 6;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ public void AttackDownRight(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[0];\r
+ row = 7;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ // death\r
+\r
+ public void DieDown(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[1];\r
+ row = 0;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ public void DieDownLeft(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[1];\r
+ row = 1;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ public void DieLeft(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[1];\r
+ row = 2;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ public void DieUpLeft(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[1];\r
+ row = 4;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ public void DieUp(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[1];\r
+ row = 4;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ public void DieUpRight(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[1];\r
+ row = 5;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ public void DieRight(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[1];\r
+ row = 6;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ public void DieDownRight(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[1];\r
+ row = 7;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ //melee explosion\r
+ public void ExplodeDown(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[2];\r
+ row = 0;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ public void ExplodeDownLeft(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[2];\r
+ row = 1;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ public void ExplodeLeft(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[2];\r
+ row = 2;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r
+\r
+ public void ExplodeUpLeft(SpriteBatch spriteBatch, Vector2 drawSpot)\r
+ {\r
+ ph = fileNames[2];\r
+ row = 4;\r
+ character = spriteBatch;\r
+ Animate(drawSpot);\r
+ }\r