/* * Tile.cs * Authors: Brian Chesbrough * * Copyright Matthew Belmonte 2007 */ using System; using System.Collections.Generic; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; using System.Diagnostics; using Pina3D.Particles; using tAC_Engine; namespace Game.Astropolis.HackerHavoc { class Tile : Entity { // Boolean collidable = false; public string name = ","; Tile mAttach; //The tile this tile will draw next to public Tile Attach { get { return mAttach; } set { mAttach = value; } } PositionRef mPosRef; //The realtive position of the tile. public PositionRef PositionReferfence { get { return mPosRef; } set { mPosRef = value; } } //This is used to determine where the tile will be drawn public enum PositionRef { None, Head, Top, Bottom, Left, Right } public Tile():base( TextureManager.Load(@"Content\ColonySimulator\sand")) { } public override String ToString() { return (name); } } }