Android Open Source - RPGWorld Background Character






From Project

Back to project page RPGWorld.

License

The source code is released under:

MIT License

If you think the Android project RPGWorld listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/**
 * Jun 6, 2013/*from  ww w.j  a  va 2 s.c om*/
 * BackgroundCharacter.java
 * Daniel Pok
 * AP Java 6th
 */
package com.nokarateclass.rpgworld.backgrounds;

import android.content.Context;
import android.graphics.drawable.Drawable;

import com.nokarateclass.rpgworld.characters.CharacterActor;
import com.nokarateclass.rpgworld.editor.CharacterFactory;

/**
 * @author poler_000
 *
 */
public class BackgroundCharacter extends CharacterActor {
  public static final int mDefaultId = CharacterFactory.DEFAULT_BACKGROUND;
  
  /**
   * 
   */
  private static final long serialVersionUID = 1372588999344089793L;
  protected Context mContext;
  /**
   * 
   */
  public BackgroundCharacter(Context context) {
    super(mDefaultId);
    mContext = context;
  }

  public BackgroundCharacter(){
    super(mDefaultId);
  }
  
  public BackgroundCharacter(int id){
    super(id);
  }
  
  /**
   * @param sprite
   */
  public BackgroundCharacter(Drawable sprite) {
    super(sprite, mDefaultId);
  }
  
  public BackgroundCharacter(Drawable sprite, int id){
    super(sprite, id);
  }
  
  public void interact(CharacterActor character){
    //do nothing
  }
}




Java Source Code List

com.nokarateclass.rpgworld.Grid.java
com.nokarateclass.rpgworld.MapEditor.java
com.nokarateclass.rpgworld.backgrounds.BackgroundCharacter.java
com.nokarateclass.rpgworld.backgrounds.GrassBackground.java
com.nokarateclass.rpgworld.backgrounds.SandBackground.java
com.nokarateclass.rpgworld.characters.AndroidCharacter.java
com.nokarateclass.rpgworld.characters.CactusCharacter.java
com.nokarateclass.rpgworld.characters.CharacterActor.java
com.nokarateclass.rpgworld.characters.HeroCharacter.java
com.nokarateclass.rpgworld.characters.MonsterCharacter.java
com.nokarateclass.rpgworld.characters.Player.java
com.nokarateclass.rpgworld.characters.RockCharacter.java
com.nokarateclass.rpgworld.characters.Status.java
com.nokarateclass.rpgworld.characters.TreeCharacter.java
com.nokarateclass.rpgworld.editor.CharacterFactory.java
com.nokarateclass.rpgworld.editor.EditorGrid.java
com.nokarateclass.rpgworld.grid.BackgroundGrid.java
com.nokarateclass.rpgworld.grid.BeatTask.java
com.nokarateclass.rpgworld.grid.CharacterGrid.java
com.nokarateclass.rpgworld.grid.Location.java
com.nokarateclass.rpgworld.grid.MainCharacterGrid.java
com.nokarateclass.rpgworld.io.FileExporter.java
com.nokarateclass.rpgworld.io.FileIO.java
com.nokarateclass.rpgworld.io.FileImporter.java
com.nokarateclass.rpgworld.io.GridSerializer.java
com.nokarateclass.rpgworld.io.SettingsHolder.java
com.nokarateclass.rpgworld.ui.GridClickListener.java
com.nokarateclass.rpgworld.ui.ImageGridView.java
com.nokarateclass.rpgworld.world.Region.java
com.nokarateclass.rpgworld.world.World.java
com.nokarateclass.rpgworld.world.Zone.java