Revision 5626,
710 bytes
checked in by mijoilmo, 9 years ago
(diff) |
varjosimulaattori
|
Line | |
---|
1 | using System; |
---|
2 | using System.Collections.Generic; |
---|
3 | using System.Linq; |
---|
4 | using Microsoft.Xna.Framework; |
---|
5 | using Microsoft.Xna.Framework.Content; |
---|
6 | using Microsoft.Xna.Framework.Graphics; |
---|
7 | |
---|
8 | namespace WindowsGame1 |
---|
9 | { |
---|
10 | public class MapObject |
---|
11 | { |
---|
12 | public string textureId; |
---|
13 | public Vector2 position; |
---|
14 | public float shadowOffset = 0; |
---|
15 | public MapObject(string textureId, float x, float y, bool animated = false, float shadowOffset = 0) |
---|
16 | { |
---|
17 | this.shadowOffset = shadowOffset; |
---|
18 | this.textureId = textureId; |
---|
19 | this.position = new Vector2(x, y); |
---|
20 | if (animated) |
---|
21 | { |
---|
22 | |
---|
23 | } |
---|
24 | } |
---|
25 | } |
---|
26 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.