Usetutoringspotscode to get 8% OFF on your first order!

  • time icon24/7 online - support@tutoringspots.com
  • phone icon1-316-444-1378 or 44-141-628-6690
  • login iconLogin

C# Abstract Class Implementation

/ Hello! The instructions on this one are below. The instructor says it should only take 5-10 minutes to do! It mentions an abstract class example of the animal. I will include the image shown to us in the attachments as Animal.jpg! Thank you!!

Lets go back to our D&D game program idea. You are now creating the character generator explanation portion. So eventually we want to make our program so that, if the user has no idea what he wants to be, he can select one of the character types and it will explain to them what that character can do.

So, using the abstract class example of the animal, you will create a base-class called characterinfo.
In this class you should have two modules (like in the Dungeon and Dragons style game program that you developed and altered previously):
The introduction module will simply say: You are looking at the fighter style classes. Be warned, you will be in the thick of all the fighting!
The second module will be the one you will override and be used for text. You may name this how you wish.

Using the abstract class you should have two derived classes: Fighter and Paladin.
You will override the second module to give more specific details of the fighter and paladin.

Fighter: The fighter is one of the standard classes in Dungeons & Dragons. A fighter is a versatile, weapons-oriented warrior who fights using skill, strategy and tactics. Fighter is a generic and broad class but can be tailored the players ideas.

Paladin: The paladin is a holy knight. Paladins crusade on behalf of their chosen deity and could be either good or evil (anti-paladin). Because the deity grants their powers, they are also considered a limited divine spellcaster.
In the main module you will call both to show that they work (Like in like in the Dungeon and Dragons style game program that you developed and altered previously).

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes