In this exercise we will re-create the basic structure from Part 1, however this time we will implement an interface to achieve polymorphic behavior of our methods and classes. WATCH PART 1: C# inheritance and polymorphism [More]
In this exercise we will create a basic C# inheritance hierarchy and demonstrate how inheritance works, and how it enables us to work with C# methods polymorphically by using virtual methods that each class overrides. [More]
Implement the Shape hierarchy. Each TwoDimensionalShape should contain read-only abstract property Area to calculate the area of the two-dimensional shape. Each ThreeDimensionalShape should have read-only abstract properties Area and Volume to calculate the surface area [More]
In part 7 we finish our game loop, catch a few bugs and finilize our output DOWNLOAD COMPLETE PROJECT DOCUMENT HERE: Project_2_SGD_213_Spring_2013 Rev.2 DOWNLOAD FINAL FILES HERE: Star Trek Battle 2014 – Final
In part 5 we finish coding our methods implementation DOWNLOAD COMPLETE PROJECT DOCUMENT HERE: Project_2_SGD_213_Spring_2013 Rev.2 DOWNLOAD FINAL FILES HERE: Star Trek Battle 2014 – Final
In part 2 we finish coding our abstract classes and start coding our concrete classes that inherit from our base classes. DOWNLOAD COMPLETE PROJECT DOCUMENT HERE: Project_2_SGD_213_Spring_2013 Rev.2 DOWNLOAD FINAL FILES HERE: Star Trek Battle 2014 – Final