Ejemplo n.º 1
0
        public static void DrawEntity(AllEntitiesEditor type, Vector2 size, Vector2 position)
        {
            DrawRectangleBoundary.DrawWhite(new Rectangle((int)position.X, (int)position.Y, (int)size.X, (int)size.Y));

            if (type == AllEntitiesEditor.player)
            {
                DrawEntities.DrawBuddyDefault(new Vector2((int)position.X, (int)position.Y));
            }
            if (type == AllEntitiesEditor.mech)
            {
                DrawEntities.DrawMechDefault(new Vector2((int)position.X, (int)position.Y));
            }
        }
Ejemplo n.º 2
0
 public void Draw()
 {
     DrawEntities.DrawMechDefault(boundary.Position, _face);
 }