Created
November 17, 2011 15:48
-
-
Save bryanmikaelian/1373478 to your computer and use it in GitHub Desktop.
Pyro - Helping a friend out
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace Example { | |
public class Pyro { | |
// Some property | |
bool isAwesome; | |
// Default Constructor | |
public Pyro() { | |
this.isAwesome = true; | |
} | |
public Pyro(bool isAwesome) { | |
this.isAwesome = isAwesome; | |
} | |
public Pyro(bool isAwesome, string name) { | |
this.isAwesome = isAwesome; | |
Console.WriteLine("Hello " + name); | |
} | |
// Methods | |
public void shootFire() { | |
Console.WriteLine("Mrmpmpmpmpmmpmhhhh"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment