source: 2013/30/DenisZ/CastleMaster/CastleMaster/CastleMaster/World/Tiles/TileFloor.cs @ 4521

Revision 4521, 566 bytes checked in by dezhidki, 7 years ago (diff)

Talletus.

Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using CastleMaster.Graphics;
6using Microsoft.Xna.Framework;
7
8namespace CastleMaster.World.Tiles
9{
10    public class TileFloor : Tile
11    {
12        public TileFloor(Level level)
13            : base(level)
14        {
15        }
16
17        public override void Render(RenderHelper renderer, Vector2 screenPos, int tileX, int tileZ, byte dataVal)
18        {
19            renderer.Render(screenPos, 0, 0, Resources.SPRITESHEET_TILES, Viewport.ZOOM);
20        }
21    }
22}
Note: See TracBrowser for help on using the repository browser.