In c++ you will implement p_Queue andeventNode which will produce a priority
queue.
eventNode
-eventIssuer: string
-eventType: string
-issuerPriority: int
-typePriority: int
-eventPriority: int
+next: eventNode*
—————————
+eventNode(eventIssuer: string, eventType: string, iP: int,tP:int)
+~eventNode()
+getEventIssuer():string
+setEventIssuer(s:string):void
+getEventType():string
+getEventPriority():int
+setEventType(s:string):void
+getIssuerPriority():int
+setIssuerPriority(a:int):void
+getTypePriority():int
+setTypePriority(a:int):void
+print():void
+calculatePriority():void
The class variables are:
eventIssuer: This is an ID for the issuer of the event. Thereare a number of possible
event Issuers. These are: NPC, PLAYER, ENEMY, AOE. Each reects aparticular
type of event that happens in the sequence of play.
eventType: This variable describes the type of event that has tobe scheduled.
There are a number of possible types that every kind of issuercan issue. These are:
MOVEMENT, ATTACK, FLEE, UPDATE, CAST, HEAL. These describe awide
variety of events that can be called into
PayPal Gateway not configured
PayPal Gateway not configured