Modify

Ticket #115 (closed bug: invalid)

Opened 10 years ago

Last modified 10 years ago

Refactor the PC

Reported by: eliedebrauwer Owned by: parpg
Priority: major Milestone: Techdemo 1
Component: scripts Version: trunk
Keywords: Cc:
Blocked By: Blocking:
Department:

Description

At this point the player character class (scripts/objects/actors.py) has several parameters which don't belong there, thing such as the character stats and the inventory. Basicly these should belong in the gamestate class, since PC's get created and destroyed along with the loading/unloading of maps.

This should also ease loading/saving games.

Attachments

Change History

comment:1 Changed 10 years ago by kaydeth_parpg

Not sure if this ticket is still valid. Map changing has been modified so the PC is not destroyed when the map is changed. We should re-visit this after Ticket #66 and #73 are complete.

comment:2 Changed 10 years ago by kaydeth_parpg

  • Status changed from new to closed
  • Resolution set to invalid

There is no need to refactor the PC class as stated in regards to changing the map. The PC object is not deleted and created when the map changes. The underlying FIFE Instance is remapped but that can be done seemlessly. Rejecting Ticket.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.