if (mCharacters[i] != null)\r
{\r
mCharacters[i].Draw(spriteBatch);\r
- if (Math.Abs(mCharacters[i].GridX - mCharacters[i].PixelX / Map.PixelsToUnitSquares) > 0.7f || 0.7f < Math.Abs(mCharacters[i].GridY - mCharacters[i].PixelY / Map.PixelsToUnitSquares))\r
- {\r
- //Console.WriteLine(Math.Abs(mCharacters[i].GridX - mCharacters[i].PixelX / Map.PixelsToUnitSquares));\r
- //Console.WriteLine(Math.Abs(mCharacters[i].GridY - mCharacters[i].PixelY / Map.PixelsToUnitSquares));\r
- Console.WriteLine("Begin");\r
- Console.WriteLine(mCharacters[i].GridX);\r
- Console.WriteLine(mCharacters[i].GridY);\r
- Console.WriteLine(mCharacters[i].PixelX / Map.PixelsToUnitSquares);\r
- Console.WriteLine(mCharacters[i].PixelY / Map.PixelsToUnitSquares);\r
- }\r
+ \r
}\r
}\r
\r