Exemplo n.º 1
0
 public Entity(Skeleton skeleton, Vector2 position)
     : this(position)
 {
     Skeleton            = skeleton;
     skeletonBoundingBox = ResourceManager.GetSkeletonBoundingBox(skeleton.Data.Name);
     AnimationState      = new AnimationState(new AnimationStateData(skeleton.Data));
     RenderShadow        = true;
 }