Worcester polytechnic institute



Download 427,25 Kb.
Pdf ko'rish
bet11/19
Sana21.01.2022
Hajmi427,25 Kb.
#395608
1   ...   7   8   9   10   11   12   13   14   ...   19
Bog'liq
alexvo mqp

Figure 5 – Class model

As was mentioned before, the first goal is to accomplish the creation of virtual 

doors to protect team rooms.  The tutorial provided on the main Project Wonderland 

site’s Wiki pages was a great starting point, demonstrating on practice how the objects 

operated inside of the virtual world.  The tutorial worked around an object that either 

turned into a sphere or a cube when the user clicked on it.  This was essentially enough to 

provide a foundation for the door class, with the other features added on top.

The spirit of object oriented programming prevails in Project Wonderland mainly 

through the availability of the base classes that can be extended in order to provide new 

ones.  The server component class is not especially interesting in terms of functionality.  

Its only real purpose for the implementation of the door is to hold some global 

information, so that the multiple clients that are going to be using it have access to that 

information, without the freedom to change it.  And that is understandable, because the 

doors are designed specifically to be interacted with directly by the users.

Server 

Component

Client 

Component

Setup 

Information




16

Below an abridged version of the UML diagram of the Door class is provided.  A 

lot of the functions are inherited from the more basic classes that are responsible for the 

actual display of the objects in the world and how the objects change based on events 

occurring in that world, so they are not shown here, but can be studied by either looking 

at the Javadoc or the actual source code of the supporting classes.

DoorCell

String name

String password

Boolean passFrameOpen

Setup(setupData)



Setup()

Reconfigure()




Download 427,25 Kb.

Do'stlaringiz bilan baham:
1   ...   7   8   9   10   11   12   13   14   ...   19




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish