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