static void Main(string[] args) { Werkzeug wz = new Werkzeug(); Moebel moe = new Moebel(); Console.WriteLine(wz.Inventarnummer); Console.WriteLine(moe.Inventarnummer); Console.ReadKey(); }
public static void LoadContent(ContentManager content) { Gras.LoadContent(content, @"terrain\0"); Holzfäller.LoadContent(content, @"buildings\holzfäller"); MouseCursor.LoadContent(content, @"gui\cursor"); FreeSpace.LoadContent(content, @"gui\freespace"); BlockedSpace.LoadContent(content, @"gui\blockedspace"); Bar.LoadContent(content, @"gui\bar"); Holz.LoadContent(content, @"gui\holz"); Stein.LoadContent(content, @"gui\stein"); Werkzeug.LoadContent(content, @"gui\werkzeug"); Pixel.LoadContent(content, @"gui\pixel"); }