Created
May 8, 2019 05:01
-
-
Save TheAllenChou/0df6bfa0cb2dcb35386358cf6d047861 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var table = new LookupTable(); | |
var pistol = | |
new WeaponEntry | |
( | |
name = "pistol", | |
damage = 10 | |
); | |
var shotgun = | |
new WeaponEntry | |
( | |
name = "shotgun", | |
damage = 50 | |
); | |
table.Add(pistol); | |
table.Add(shotgun); | |
ExportData(table, "weapon-damage-table"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment