资 源 简 介
Description
Cistron is a component-based programming framework targeted at game development. The philosophy behind this programming paradigm is well explained on the following website:
http://cowboyprogramming.com/2007/01/05/evolve-your-heirachy/
Alternatively, I have recently done a presentation on this subject. The slides can be found below. The presentation contains examples, illustrates the difference with classical OO programming and gives a list of benefits and possible issues.
http://www.codeximperium.be/stuff/Component-based%20programming.pdf
In Cistron, objects (such as a player, an opponent, a wall, the main game engine) are composed of components, which interact with each other through messages. For example, the main game engine might send a draw message to all other components, and components which subscribed to this message will receive the command and draw themselves on screen.
Cistron is designed as a light-weight, f