-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds more TODO items throughout the code * Renames files
- Loading branch information
1 parent
333bee9
commit 20bc188
Showing
19 changed files
with
145 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using Microsoft.Xna.Framework; | ||
using Microsoft.Xna.Framework.Content; | ||
|
||
namespace Client.Menu; | ||
|
||
// TODO | ||
public class SelectControlsView : GameStateView | ||
{ | ||
public override void loadContent(ContentManager contentManager) | ||
{ | ||
throw new System.NotImplementedException(); | ||
} | ||
|
||
public override MenuStateEnum processInput(GameTime gameTime) | ||
{ | ||
throw new System.NotImplementedException(); | ||
} | ||
|
||
public override void update(GameTime gameTime) | ||
{ | ||
throw new System.NotImplementedException(); | ||
} | ||
|
||
public override void RegisterCommands() | ||
{ | ||
throw new System.NotImplementedException(); | ||
} | ||
|
||
public override void render(GameTime gameTime) | ||
{ | ||
throw new System.NotImplementedException(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System; | ||
|
||
namespace Client.Systems; | ||
|
||
public class Camera : Shared.Systems.System | ||
{ | ||
public override void update(TimeSpan elapsedTime) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System; | ||
|
||
namespace Client.Systems; | ||
|
||
public class CollisionDetection : Shared.Systems.System | ||
{ | ||
public override void update(TimeSpan elapsedTime) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
using System; | ||
|
||
namespace Client.Systems; | ||
|
||
public class MouseInput | ||
public class MouseInput : Shared.Systems.System | ||
{ | ||
|
||
public override void update(TimeSpan elapsedTime) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace Client.Systems; | ||
|
||
public class ParticleEffects | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
using System; | ||
|
||
namespace Client.Systems; | ||
|
||
public class WormMovement | ||
public class WormMovement : Shared.Systems.System | ||
{ | ||
|
||
public override void update(TimeSpan elapsedTime) | ||
{ | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace Shared.Components; | ||
|
||
public class LifeTime: Component | ||
{ | ||
public TimeSpan lifeTime { get; private set; } | ||
public LifeTime(TimeSpan lifeTime) | ||
{ | ||
this.lifeTime = lifeTime; | ||
} | ||
|
||
public void update(TimeSpan elapsedTime) | ||
{ | ||
lifeTime -= elapsedTime; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace Shared.Components; | ||
|
||
public class Particle: Component | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace Shared.Components; | ||
|
||
public class SpicePower: Component | ||
{ | ||
public int power { get; private set; } | ||
public SpicePower(int power) | ||
{ | ||
this.power = power; | ||
} | ||
|
||
public void addPower(int power) | ||
{ | ||
this.power += power; | ||
} | ||
|
||
public void removePower(int power) | ||
{ | ||
this.power -= power; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using Microsoft.Xna.Framework; | ||
using Shared.Components; | ||
using Shared.Components.Appearance; | ||
|
||
namespace Shared.Entities; | ||
|
||
public class Particle | ||
{ | ||
public Entity create( Vector2 position, Vector2 velocity, Vector2 size, TimeSpan lifeTime, float moveRate, float rotationRate ) | ||
{ | ||
Entity entity = new Entity(); | ||
entity.add(new Position(position)); | ||
entity.add(new Movement(moveRate, rotationRate)); | ||
entity.add(new Appearance("Textures/particle")); // TODO | ||
entity.add(new Size(size)); | ||
entity.add(new LifeTime(lifeTime)); | ||
return entity; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters