Example #1
0
        public static Entity Create(ENTITY entity_type, Vector2 position, float direction)
        {
            var         entity     = Create(entity_type);
            IIndividual individual = entity;

            individual.SetPosition(position);
            individual.AddDirection(direction);
            return(entity);
        }