Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/richnav-csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: dotnet restore
working-directory: ./csharp

- uses: microsoft/RichCodeNavIndexer@v0.1
- uses: jepetty/RichCodeNavIndexer@testCSharpInstall
with:
languages: csharp
repo-token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion csharp/src/Block.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ class Block: GameObject
{
public Block(int x, int y): base(x, y){}

// this interacts
public new void interact()
{
Console.WriteLine("You get a coin!");
}
}
}
}
3 changes: 2 additions & 1 deletion csharp/src/Drawable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ namespace game
{
interface Drawable
{
// hi - you rock
void draw();
}
}
}