Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Entity System

$
0
0

@dryhfth wrote:

Hello there!

At the moment, I'm trying to implement entity component system and getting the following error:

Error Component is not marked with EntityComponent Attribute

To begin with, I'm attempting to add CursorEntity which has following component:

[EntityComponent]
    class CursorComponent : EntityComponent
    {
        public Point Position { get; set; }
    }

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles