source: 2014/30/MikkoI/WindowsGame1/WindowsGame1/WindowsGame1/Map/Unit.cs @ 5693

Revision 5693, 522 bytes checked in by mijoilmo, 9 years ago (diff)
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using Microsoft.Xna.Framework;
5using Microsoft.Xna.Framework.Content;
6using Microsoft.Xna.Framework.Graphics;
7
8namespace 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.