DangerousD/DangerousD/GameCore/GameObjects/MapObjects/GrassBlock.cs
2023-08-17 16:40:33 +03:00

24 lines
628 B
C#

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DangerousD.GameCore.Graphics;
namespace DangerousD.GameCore.GameObjects.MapObjects
{
internal class GrassBlock : MapObject
{
protected override GraphicsComponent GraphicsComponent { get; } = new("wall");
public GrassBlock(Vector2 position) : base(position)
{
Width = 32;
Height = 32;
IsColliderOn = true;
}
}
}