mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2024-11-28 16:58:56 +08:00
Some quick warning fixes
This commit is contained in:
parent
937479c09d
commit
80c6cf0799
|
@ -171,7 +171,7 @@ namespace Strawberry
|
||||||
{
|
{
|
||||||
Scene?.Draw();
|
Scene?.Draw();
|
||||||
|
|
||||||
if (Console.Enabled)
|
if (Strawberry.Console.Enabled)
|
||||||
Strawberry.Console.[Friend]Draw();
|
Strawberry.Console.[Friend]Draw();
|
||||||
|
|
||||||
Batcher.Draw();
|
Batcher.Draw();
|
||||||
|
|
|
@ -34,7 +34,7 @@ namespace Strawberry
|
||||||
|
|
||||||
static public void DisposeAll()
|
static public void DisposeAll()
|
||||||
{
|
{
|
||||||
DeleteDictionaryAndKeysAndItems!(Textures);
|
DeleteDictionaryAndKeysAndValues!(Textures);
|
||||||
Sprite.[Friend]Dispose();
|
Sprite.[Friend]Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ namespace Strawberry
|
||||||
[Command("clear", "Clears the console window")]
|
[Command("clear", "Clears the console window")]
|
||||||
static public void Clear()
|
static public void Clear()
|
||||||
{
|
{
|
||||||
DeleteAndClearItems!(messages);
|
ClearAndDeleteItems!(messages);
|
||||||
}
|
}
|
||||||
|
|
||||||
static private void Update()
|
static private void Update()
|
||||||
|
|
|
@ -74,6 +74,7 @@ namespace Strawberry
|
||||||
return Vector(a.X, a.Y);
|
return Vector(a.X, a.Y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Commutable]
|
||||||
static public bool operator==(Vector a, Vector b)
|
static public bool operator==(Vector a, Vector b)
|
||||||
{
|
{
|
||||||
return a.X == b.X && a.Y == b.Y;
|
return a.X == b.X && a.Y == b.Y;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user