Description:
Add missing file.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -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 | 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) | |
|
202 | { | |
|
204 | ||
|
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 | 209 | int height_adjust = 0; |
|
205 | 210 | |
@@ -223,7 +228,7 | |||
|
223 | 228 | screeny, |
|
224 | 229 | Tile.TileWidth, Tile.TileHeight * height), |
|
225 | 230 | Tile.GetExtendedSourceRectangle(tileIndex, height), |
|
226 | Color.White, | |
|
231 | color, | |
|
227 | 232 | 0.0f, |
|
228 | 233 | Vector2.Zero, |
|
229 | 234 | SpriteEffects.None, |
You need to be logged in to leave comments.
Login now