Head first C # Chinese Version chapter 12th review and foresight page519

Source: Internet
Author: User

 

Create a honeycomb Simulator


Of course, we have not created such a complex thing, so we need to combine all things in a few chapters. In this process, you will learn how to add Timer
Control,
LINQ
There are also a lot of Graphic programming skills.



The following is what you need to do in this chapter (more will be available next ):

 


① Create a flower
Class, it will grow older, grow pollen, and eventually wither and die.

 

 

② Create a bee
Class, which has several different States (collecting pollen on a flower and returning to the honeycomb) and knows what to do based on its State.

 

 

③ Create a hive
Class, which contains portals, egresses, baby bee breeding sites, and honey plants that convert pollen into honey.

 

 

④ Create a world
Class, which manages the beehive, flowers, and bees all the time.

 

 

⑤ Create a main form that collects statistics from other classes and maintains the operation of the world.

 


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.