using Microsoft.Xna.Framework;
using MonoGame.FourEngine;
using MonoGame.FourEngine.Raycast;
using Raycast.Win32.Components;

namespace Raycast.Win32.Entities
{
    public class ShooterViewEntity : RaycastViewEntity
    {
        public ShooterComponent Component { get; private set; }

        public ShooterViewEntity(IRaycastMap map, IRaycastCamera camera, Point resolution) 
            : base(map, camera, resolution)
        {
        }

        protected override RaycastComponent CreateComponent(IRaycastMap map, Scene scene, IRaycastCamera camera, Point resolution)
            => Component = new ShooterComponent(map, scene, camera, resolution);
    }
}