Description:
Add missing file.
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r569:a24a3c7b1bdb -

@@ -0,0 +1,11
1 using Microsoft.Xna.Framework;
2
3 using Encompass;
4
5 namespace isometricparkfna.Components {
6
7 public struct CursorComponent : IComponent {
8 public Vector2 position;
9 public int size;
10 }
11 }
@@ -197,9 +197,14
197 drawEdges(batch, edges.ToArray(), color);
197 drawEdges(batch, edges.ToArray(), color);
198 }
198 }
199
199
200 public static void drawTileAt(SpriteBatch batch, int x, int y, int tileIndex, int height, float depth) {
201 drawTileAt(batch, x, y, tileIndex, height, depth, Color.White);
202 }
200
203
201 public static void drawTileAt(SpriteBatch batch, int x, int y, int tileIndex, int height, float depth)
204
202 {
205 public static void drawTileAt(SpriteBatch batch, int x, int y, int tileIndex, int height, float depth, Color color)
206 {
207 //new Color(100, 100, 100, 100)
203
208
204 int height_adjust = 0;
209 int height_adjust = 0;
205
210
@@ -223,7 +228,7
223 screeny,
228 screeny,
224 Tile.TileWidth, Tile.TileHeight * height),
229 Tile.TileWidth, Tile.TileHeight * height),
225 Tile.GetExtendedSourceRectangle(tileIndex, height),
230 Tile.GetExtendedSourceRectangle(tileIndex, height),
226 Color.White,
231 color,
227 0.0f,
232 0.0f,
228 Vector2.Zero,
233 Vector2.Zero,
229 SpriteEffects.None,
234 SpriteEffects.None,
You need to be logged in to leave comments. Login now