Revision 5607,
599 bytes
checked in by mijoilmo, 9 years ago
(diff) |
muutoksia skriptiin sekä kursori
|
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 MapObject(string textureId, float x, float y, bool animated = false) |
---|
15 | { |
---|
16 | this.textureId = textureId; |
---|
17 | this.position = new Vector2(x, y); |
---|
18 | if (animated) |
---|
19 | { |
---|
20 | |
---|
21 | } |
---|
22 | } |
---|
23 | } |
---|
24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.