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

Revision 5626, 710 bytes checked in by mijoilmo, 9 years ago (diff)

varjosimulaattori

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