Back to project page Look.
The source code is released under:
====================== LOOK! LICENSING TERMS ====================== look! is licensed under the BSD 3-Clause (also known as "BSD New" or "BSD Simplified"), as follows: Copyright (c) 2010-2012, Look...
If you think the Android project Look listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** *----------------------------------------------------------------------------- * Copyright (c) 2012, Look! Development Team * All rights reserved.//from ww w .j a va 2 s . co m * * Distributed under the terms of the BSD Simplified License. * * The full license is in the LICENSE file, distributed with this software. *----------------------------------------------------------------------------- */ package es.ucm.look.data.interfaces; import es.ucm.look.data.EntityData; /** * General interface for classes adding or changing data to the application * * @author ??ngel Serrano * */ public interface DataSetter { /** * Adds an entity to the world * * @param data */ public void addEntity(EntityData data); /** * Modifies the position for an entity * * @param data * data representing the entity * @param x * x coordinate * @param y * y coordinate * @param z * z coordinate */ public void updatePosition(EntityData data, float x, float y, float z); /** * Updates the value from a entity data property * * @param data * entity data * @param property * the property name * @param newValue * the nuew value for the property */ public void updateProperty(EntityData data, String property, String newValue); }