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 ShadowSimulator2014 |
---|
9 | { |
---|
10 | //olento |
---|
11 | public class Unit : MapObject |
---|
12 | { |
---|
13 | string unitId; |
---|
14 | public Unit(string unitId, float x, float y) |
---|
15 | : base("olennot/"+unitId, x, y, true)//add prefix "olennot/" so texture can be loaded |
---|
16 | { |
---|
17 | this.unitId = unitId; |
---|
18 | } |
---|
19 | } |
---|
20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.