source: 2014/30/MikkoI/WindowsGame1/WindowsGame1/WindowsGame1/Map/MapObject.cs @ 5607

Revision 5607, 599 bytes checked in by mijoilmo, 9 years ago (diff)

muutoksia skriptiin sekä kursori

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 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.