PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/v3.2/nimbits-sdk/test/Robot.java

http://nimbits-server.googlecode.com/
Java | 37 lines | 14 code | 5 blank | 18 comment | 0 complexity | d1abdcc706dbe1f252ba714bb687b14c MD5 | raw file
 1/*
 2 * Copyright (c) 2010 Tonic Solutions LLC.
 3 *
 4 * http://www.nimbits.com
 5 *
 6 *
 7 * Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
 8 *
 9 * http://www.gnu.org/licenses/gpl.html
10 *
11 * Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
12 */
13
14/**
15 * Created by bsautner
16 * User: benjamin
17 * Date: 10/7/11
18 * Time: 4:00 PM
19 */
20public class Robot {
21    Emotion emotion;
22
23    enum Emotion {
24        happy, sad, angry
25    }
26
27    public Robot() { //don't forget a no arg constructor
28    }
29
30    public Emotion getEmotion() {
31        return emotion;
32    }
33
34    public void setEmotion(Emotion emotion) {
35        this.emotion = emotion;
36    }
37}