1. Virtual Laboratories
  2. Object Library
  3. Devices
  4. Card

Card

Description

This class models a playing card from a standard deck. The class has methods for getting and setting the denomination and suit of the card and for specifying whether the card is face up or face down. This object is used, for example, in the poker experiment.

A card face down A card face up

Class Hierarchy

Code

The text area below gives the code for this object, so that you can browse the constructors, methods, and properties of the object. Of course, this source file is part of devices.zip, which contains all source and resource files for the objects in the devices package.