Restructuring and clean up. Preparation for loading library.
This commit is contained in:
@@ -2,14 +2,11 @@ using System;
|
||||
using System.Drawing;
|
||||
using System.Numerics;
|
||||
using SDL2;
|
||||
using SlatedGameToolkit.Framework;
|
||||
using SlatedGameToolkit.Commons.Loaders;
|
||||
using SlatedGameToolkit.Framework.Graphics.Render;
|
||||
using SlatedGameToolkit.Framework.Graphics.Render.Programs;
|
||||
using SlatedGameToolkit.Framework.Graphics.Textures;
|
||||
using SlatedGameToolkit.Framework.Graphics.Window;
|
||||
using SlatedGameToolkit.Framework.Input;
|
||||
using SlatedGameToolkit.Framework.Input.Devices;
|
||||
using SlatedGameToolkit.Framework.Loader;
|
||||
using SlatedGameToolkit.Framework.StateSystem;
|
||||
using SlatedGameToolkit.Framework.StateSystem.States;
|
||||
|
||||
@@ -54,7 +51,7 @@ namespace SlatedGameToolkit.Tools.Utilities.Playground
|
||||
camera = new Camera2D(2, 2);
|
||||
renderer = new MeshBatch(camera);
|
||||
|
||||
logoTexture = CommonLoaders.LoadTexture("Resources/Playground/yhdnbgnc.png", null);
|
||||
logoTexture = TextureLoader.LoadTexture("Resources/Playground/yhdnbgnc.png", null);
|
||||
logo = new RectangleMesh(logoTexture, Color.White);
|
||||
logo.Width = 0.5f;
|
||||
logo.Height = 0.5f;
|
||||
@@ -62,7 +59,7 @@ namespace SlatedGameToolkit.Tools.Utilities.Playground
|
||||
logo.Y = -0.25f;
|
||||
|
||||
|
||||
fillerTexture = CommonLoaders.LoadTexture("Resources/Playground/filler.png", null);
|
||||
fillerTexture = TextureLoader.LoadTexture("Resources/Playground/filler.png", null);
|
||||
textureTester = new RectangleMesh(fillerTexture, Color.White);
|
||||
textureTester.Width = 0.15f;
|
||||
textureTester.Height = 0.15f;
|
||||
|
Reference in New Issue
Block a user