Monday, March 14, 2011

Male Intimate Tattoo Gentitals

Class and Sequence Diagrams of UML (CLASS) (INPUT 1 / 2) Technical Specification

Class Diagram

A class diagram is a type of static diagram describes the structure of a system showing classes, attributes and relationships between them. Class diagrams are used during the process of analysis and systems design, which creates the conceptual design of the information will be handled in the system, and the component that handles the operation and the relationship between the two.

Class Diagram Example:


Explanation:

This diagram corresponds to a game, so I see a game of cowboys that think you do not know lol.

As you can see, the game consists of 5 classes, Character, Cowboy, Cow Close, Game.

Character class has 4 attributes or variables of Instance-bmps I guess is some of the graphics or images representing such characters.
- Current position: tuple, the tuple is because the program may be using some graph that will have to go places has pizado recognizing that the character in order to define that place is by Pizar.
- speed is a float I guess this is going to control the frames / second that will move the character
-state is a whole state can control or identify when the character is moving or when the person is at rest.

methods are there in this class are all public: move the character, drawing the character, change status, detect collision.

The Cowboy and Cow classes have an inheritance relationship with the character class, attributes that are shared are the positions (which are private attributes) where are these initial and final. Vaquero

Class has an attribute called address that I is responsible for the possible routes or destinations that you can use this to move, while Class Vaca handled as an initial position and destination where the cows will be possessions in one place and always move equally well Vaca class has two public attributes sisters which is an instance to generate more cows and fencing that is an instance to generate a fence to surround these or serve as an obstacle. Close

Class has 2 attributes that are also tuples initial position and final position and a method that is to create a default position for the fences. Finally

Class Game class that derives from all the others, the diamonds without filling ratio which means a type of aggregation by reference (the lifetime of the object contained is independent of that supplied). But in general, the Game class is very important in implementing the game because without a difficulty level, the program will always yield the same level and not that this attribute can be developed more broadly the features and implementations of other classes .

References:
http://bittacorp.wordpress.com/2008/11/26/diagrama-de-clases/
http://es.wikipedia.org/wiki/Tupla
http://es.wikipedia.org/wiki/Diagrama_de_clases

A very good tutorial on class diagrams:
psalinas http://www.dcc.uchile.cl/ ~ / uml / model . html

0 comments:

Post a Comment