-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Formatted csharp scripts and remove strange unicode.
- Loading branch information
Showing
5 changed files
with
52 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
namespace Scripts | ||
namespace Scripts | ||
{ | ||
interface IJump | ||
{ | ||
int Jump(); | ||
} | ||
interface IJump | ||
{ | ||
int Jump(); | ||
} | ||
} |
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,18 +1,18 @@ | ||
using System; | ||
using System; | ||
namespace Scripts | ||
{ | ||
public class JumpMaster | ||
{ | ||
public static int SuperJump() | ||
{ | ||
IJump sj = new SuperJump(); | ||
public class JumpMaster | ||
{ | ||
public static int SuperJump() | ||
{ | ||
IJump sj = new SuperJump(); | ||
return sj.Jump(); | ||
} | ||
} | ||
|
||
public static int TinyJump() | ||
{ | ||
IJump sj = new TinyJump(); | ||
return sj.Jump(); | ||
} | ||
} | ||
public static int TinyJump() | ||
{ | ||
IJump sj = new TinyJump(); | ||
return sj.Jump(); | ||
} | ||
} | ||
} |
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,10 +1,10 @@ | ||
namespace Scripts | ||
namespace Scripts | ||
{ | ||
public class SuperJump : IJump | ||
{ | ||
public int Jump() | ||
{ | ||
return 2; | ||
} | ||
} | ||
public class SuperJump : IJump | ||
{ | ||
public int Jump() | ||
{ | ||
return 2; | ||
} | ||
} | ||
} |
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,10 +1,10 @@ | ||
namespace Scripts | ||
namespace Scripts | ||
{ | ||
public class TinyJump : IJump | ||
{ | ||
public int Jump() | ||
{ | ||
return 1; | ||
} | ||
} | ||
public class TinyJump : IJump | ||
{ | ||
public int Jump() | ||
{ | ||
return 1; | ||
} | ||
} | ||
} |
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