package com.java; //包名public class Bird { //类名//属性String YanSe;String ZhongLei;double FanLiang;//方法public void weiShi(double FanLiang){System.out.p...
分类:
其他好文 时间:
2015-12-08 10:03:54
阅读次数:
136
Problem DescriptionLong long ago, there is a gunner whose name is Jack. He likes to go hunting very much. One day he go to the grove. There are n bird...
分类:
其他好文 时间:
2015-11-24 22:02:27
阅读次数:
210
一、继承1.继承的基本用法l设计两个类Bird、Dog//Bird的声明@interfaceBird:NSObject{@publicintweight;}-(void)eat;@end//Bird的定义@implementationBird-(void)eat{NSLog(@"吃吃吃-体重:%d"...
分类:
其他好文 时间:
2015-11-16 12:03:10
阅读次数:
126
1 using UnityEngine; 2 using System.Collections; 3 4 public class MoveTrigger : MonoBehaviour { 5 6 public Transform currentBg; 7 publi...
分类:
其他好文 时间:
2015-11-08 19:25:54
阅读次数:
178
1 using UnityEngine; 2 using System.Collections; 3 4 public class GameMangger : MonoBehaviour { 5 public static int GAMESTATE_MENU = 0; //游戏菜单状态...
分类:
其他好文 时间:
2015-11-08 19:24:12
阅读次数:
317
1 using UnityEngine; 2 using System.Collections; 3 4 public class pipe : MonoBehaviour { 5 void Start() { 6 RandomGeneratePosition(); 7 ...
分类:
其他好文 时间:
2015-11-08 19:22:49
阅读次数:
210
1 using UnityEngine; 2 using System.Collections; 3 4 public class Pipeupdown : MonoBehaviour { 5 public AudioSource hitMusic; 6 public Audio...
分类:
其他好文 时间:
2015-11-08 19:18:25
阅读次数:
152
1 using UnityEngine; 2 using System.Collections; 3 4 public class bird : MonoBehaviour { 5 public float timer = 0; 6 public int freamNumbuer...
分类:
其他好文 时间:
2015-11-08 19:14:25
阅读次数:
159
1 using UnityEngine; 2 using System.Collections; 3 4 public class FollowBird : MonoBehaviour { 5 private GameObject bird; 6 private Transfor...
分类:
其他好文 时间:
2015-11-08 19:08:25
阅读次数:
210
# -*- coding: utf-8 -*-#python 27#xiaodeng#Python之对象的属性#http://python.jobbole.com/82622/#对象的属性class bird(): feather = True class chicken(bird): ...
分类:
编程语言 时间:
2015-11-06 23:36:28
阅读次数:
190