Learning Java with Games by Chong-wei Xu
Author:Chong-wei Xu
Language: eng
Format: epub, pdf
ISBN: 9783319728865
Publisher: Springer International Publishing
1 /*
2 * MinuteHand.java - A class defines the minute hand of an analog clock.
3 */
4
5 package analogclock;
6
7 import java.awt.Color;
8
13 public class MinuteHand extends ClockHand {
14
15 public MinuteHand(int radiusClock) {
16 super(radiusClock);
17 setHandPercent(0.85);
18 setTurnAngle(18);
19 setHandColor(Color.BLACK);
20 setAnglePerSec(Consts.MINUTE_ANGLE);
21 initHand();
22 }
23 }
1 /*
2 * SecondHand.java - A class defines the second hand of an analog clock.
3 */
4
5 package analogclock;
6
7 import java.awt.Color;
8
13 public class SecondHand extends ClockHand {
14
15 public SecondHand(int radiusClock) {
16 super(radiusClock);
17 setHandPercent(0.95);
18 setTurnAngle(0);
19 setHandColor(Color.RED);
20 setAnglePerSec(Consts.TICK_ANGLE);
21 initHand();
22 }
23 }
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Coding Theory | Localization |
Logic | Object-Oriented Design |
Performance Optimization | Quality Control |
Reengineering | Robohelp |
Software Development | Software Reuse |
Structured Design | Testing |
Tools | UML |
Deep Learning with Python by François Chollet(12524)
Hello! Python by Anthony Briggs(9869)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9759)
The Mikado Method by Ola Ellnestam Daniel Brolund(9749)
Dependency Injection in .NET by Mark Seemann(9295)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8260)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7743)
Grails in Action by Glen Smith Peter Ledbrook(7669)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7519)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(6751)
Microservices with Go by Alexander Shuiskov(6517)
Practical Design Patterns for Java Developers by Miroslav Wengner(6415)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6392)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6380)
Angular Projects - Third Edition by Aristeidis Bampakos(5773)
The Art of Crafting User Stories by The Art of Crafting User Stories(5305)
NetSuite for Consultants - Second Edition by Peter Ries(5248)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(5067)
Kotlin in Action by Dmitry Jemerov(5021)
