39 lines
793 B
C#
39 lines
793 B
C#
using Microsoft.Xna.Framework;
|
|
using Microsoft.Xna.Framework.Graphics;
|
|
using System;
|
|
using ZoFo.GameCore.GameObjects.Entities;
|
|
using ZoFo.GameCore.ZoFo_graphics;
|
|
using ZoFo.GameCore.GameManagers;
|
|
using ZoFo.GameCore.GameManagers.CollisionManager;
|
|
|
|
namespace ZoFo.GameCore.GameObjects.Entities.LivingEntities;
|
|
public class LivingEntity : Entity
|
|
{
|
|
public Vector2 velocity;
|
|
|
|
private InputManager inputManager;
|
|
|
|
public LivingEntity(Vector2 position) : base(position)
|
|
{
|
|
inputManager = new InputManager();
|
|
}
|
|
|
|
public override GraphicsComponent graphicsComponent { get; } = null;
|
|
|
|
#region Server side
|
|
/*public override void Update()
|
|
{
|
|
|
|
}*/
|
|
#endregion
|
|
|
|
public void OnCollision(CollisionComponent component)
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|