initial commit

This commit is contained in:
2024-04-18 00:51:12 +07:00
commit 6333d80fd4
21 changed files with 588 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
using System.Numerics;
using Raylib_cs;
using Scellecs.Morpeh;
public struct BlockComponent : IComponent
{
public Vector3 Size;
}

View File

@@ -0,0 +1,7 @@
using Raylib_cs;
using Scellecs.Morpeh;
public struct CameraComponent : IComponent
{
public Camera2D Camera;
}

View File

@@ -0,0 +1,6 @@
using Scellecs.Morpeh;
public struct CanCollideComponent : IComponent
{
public bool CanCollide;
}

View File

@@ -0,0 +1,7 @@
using Raylib_cs;
using Scellecs.Morpeh;
public struct ColorComponent : IComponent
{
public Color Color { get; set; }
}

View File

@@ -0,0 +1,6 @@
using Scellecs.Morpeh;
public struct HealthComponent : IComponent
{
public int HealthPoints;
}

View File

@@ -0,0 +1,8 @@
using BakeryGame.Models;
using Scellecs.Morpeh;
public struct MovementComponent : IComponent
{
public Direction Direction;
public float Speed;
}

View File

@@ -0,0 +1,8 @@
using System.Numerics;
using Raylib_cs;
using Scellecs.Morpeh;
public struct PlayerComponent : IComponent
{
public Vector3 Size;
}

View File

@@ -0,0 +1,7 @@
using System.Numerics;
using Scellecs.Morpeh;
public struct PositionComponent : IComponent
{
public Vector3 Position;
}