Skip to content

Commit 34d2db6

Browse files
committed
Remove Example everywhere so people won't change it
1 parent 5db4632 commit 34d2db6

22 files changed

+35
-37
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 14
44
VisualStudioVersion = 14.0.25420.1
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RLBotCSharpExample", "RLBotCSharpExample\RLBotCSharpExample.csproj", "{FFF07A01-2977-4C85-9224-BDB18E72C962}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bot", "Bot\Bot.csproj", "{FFF07A01-2977-4C85-9224-BDB18E72C962}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution

RLBotCSharpExample/RLBotCSharpExample/App.config renamed to CSharpBot/Bot/App.config

File renamed without changes.

RLBotCSharpExample/RLBotCSharpExample/ExampleBot.cs renamed to CSharpBot/Bot/Bot.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
using System.Numerics;
22
using System.Windows.Media;
3+
using Bot.Utilities.Packet;
34
using RLBotDotNet;
4-
using RLBotCSharpExample.Utilities.Packet;
55

6-
namespace RLBotCSharpExample
6+
namespace Bot
77
{
88
// We want to our bot to derive from Bot, and then implement its abstract methods.
9-
class ExampleBot : Bot
9+
class Bot : RLBotDotNet.Bot
1010
{
11-
// We want the constructor for ExampleBot to extend from Bot, but we don't want to add anything to it.
11+
// We want the constructor for our Bot to extend from RLBotDotNet.Bot, but we don't want to add anything to it.
1212
// You might want to add logging initialisation or other types of setup up here before the bot starts.
13-
public ExampleBot(string botName, int botTeam, int botIndex) : base(botName, botTeam, botIndex) { }
13+
public Bot(string botName, int botTeam, int botIndex) : base(botName, botTeam, botIndex) { }
1414

1515
public override Controller GetOutput(rlbot.flat.GameTickPacket gameTickPacket)
1616
{

RLBotCSharpExample/RLBotCSharpExample/RLBotCSharpExample.csproj renamed to CSharpBot/Bot/Bot.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
77
<ProjectGuid>{FFF07A01-2977-4C85-9224-BDB18E72C962}</ProjectGuid>
88
<OutputType>Exe</OutputType>
9-
<RootNamespace>RLBotCSharpExample</RootNamespace>
10-
<AssemblyName>RLBotCSharpExample</AssemblyName>
9+
<RootNamespace>Bot</RootNamespace>
10+
<AssemblyName>Bot</AssemblyName>
1111
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
1212
<FileAlignment>512</FileAlignment>
1313
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
@@ -66,7 +66,7 @@
6666
<Reference Include="System.Xml" />
6767
</ItemGroup>
6868
<ItemGroup>
69-
<Compile Include="ExampleBot.cs" />
69+
<Compile Include="Bot.cs" />
7070
<Compile Include="Program.cs" />
7171
<Compile Include="Properties\AssemblyInfo.cs" />
7272
<Compile Include="Utilities\DataConversion.cs" />

RLBotCSharpExample/RLBotCSharpExample/Program.cs renamed to CSharpBot/Bot/Program.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
using RLBotDotNet;
2-
using System.IO;
1+
using System.IO;
32

4-
namespace RLBotCSharpExample
3+
namespace Bot
54
{
65
class Program
76
{
@@ -12,8 +11,7 @@ static void Main()
1211
string text = File.ReadAllLines(file)[0];
1312
int port = int.Parse(text);
1413

15-
// BotManager is a generic which takes in your bot as its T type.
16-
BotManager<ExampleBot> botManager = new BotManager<ExampleBot>(0);
14+
RLBotDotNet.BotManager<Bot> botManager = new RLBotDotNet.BotManager<Bot>(0);
1715
// Start the server on the port given in the port.cfg file.
1816
botManager.Start(port);
1917
}

RLBotCSharpExample/RLBotCSharpExample/Properties/AssemblyInfo.cs renamed to CSharpBot/Bot/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
// General Information about an assembly is controlled through the following
55
// set of attributes. Change these attribute values to modify the information
66
// associated with an assembly.
7-
[assembly: AssemblyTitle("RLBotCSharpExample")]
7+
[assembly: AssemblyTitle("Bot")]
88
[assembly: AssemblyDescription("")]
99
[assembly: AssemblyConfiguration("")]
1010
[assembly: AssemblyCompany("")]
11-
[assembly: AssemblyProduct("RLBotCSharpExample")]
11+
[assembly: AssemblyProduct("Bot")]
1212
[assembly: AssemblyCopyright("Copyright © 2020")]
1313
[assembly: AssemblyTrademark("")]
1414
[assembly: AssemblyCulture("")]

RLBotCSharpExample/RLBotCSharpExample/Utilities/DataConversion.cs renamed to CSharpBot/Bot/Utilities/DataConversion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace RLBotCSharpExample.Utilities
1+
namespace Bot.Utilities
22
{
33
public static class DataConversion
44
{

RLBotCSharpExample/RLBotCSharpExample/Utilities/Packet/Ball.cs renamed to CSharpBot/Bot/Utilities/Packet/Ball.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace RLBotCSharpExample.Utilities.Packet
1+
namespace Bot.Utilities.Packet
22
{
33
public class Ball
44
{

RLBotCSharpExample/RLBotCSharpExample/Utilities/Packet/BoostPadState.cs renamed to CSharpBot/Bot/Utilities/Packet/BoostPadState.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace RLBotCSharpExample.Utilities.Packet
1+
namespace Bot.Utilities.Packet
22
{
33
public class BoostPadState
44
{

RLBotCSharpExample/RLBotCSharpExample/Utilities/Packet/GameInfo.cs renamed to CSharpBot/Bot/Utilities/Packet/GameInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace RLBotCSharpExample.Utilities.Packet
1+
namespace Bot.Utilities.Packet
22
{
33
public class GameInfo
44
{

0 commit comments

Comments
 (0)